Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aptrix package for Java development?

Status
Not open for further replies.

dwbh

Programmer
Oct 24, 2002
8
US
Hi,

I'm working on a Lotus Notes agent that will take the HTTP stream from a search engine, parse selected elements, format into an XML document, and use this XML to create Aptrix components for our company's intranet. I'm coding this agent using Java (JDK 1.1.8) and things are going well thus far, except I can't seem to find a package for Aptrix development or an API. Does anyone have a link to a package, manual, anything that might help me to create Aptrix components in Java?

Thanks in advance,
Sam
 
Sam,

Firstly, I'm assuming you are running the Domino version of Aptrix (which is now called Lotus Workplace Web Content Management - or LWWCM for short). What version of Aptrix are you running?

I've written a (deja vu) Java agent to take news feeds from Factiva ( parse the XML, and write this into Aptrix documents.

A couple of key points to note BEFORE you attempt to do this. Aptrix is a Content Management System that will allow you to search for content matching a profile. If you have many documents matching "current news", you can encounter problems.

1. The sorting facility isn't efficient when you try to sort using a very complex key - understandably. We use a [yyyymmddhhmm] key to sort our documents by Date.

2. You'll need to archive off your data regularly to keep the content count down. Otherwise sorting on a huge number of documents will slow your server down. Set your archiving Agent running - "Effective Document Update"

3. You'll need to be able to search for documents better - perhaps using a date range based on the published date.

With this said - all of these can be achieved quite easily with a bit of inside knowledge.

There are only a couple :)-)) of FIELDS you'll need to set on the new document to similate the Aptrix document:
1. ExpiryDate
2. Form - set to "WebPage"
3. DocArchived - set to "No"
4. DocAuthor - set to your DocAuthors group *
5. DocOwner - set to your DocOwners group *

* Just incase they need to modify the content in any way - emergency fixes / deletions.

6. ReviewDateOption - set to "No review"
7. ExpiryDateOption - set to "Change document type"
8. ExpiryActionParameter - set to "Archived" **

** You'll need to set up some DocTypes and choose an appropriate setting for this one.

9. NotificationSent - set to "0"
10. WebPagehideFromSearch - set to "No"
11. WebPageAltLink - set to "no"
12. DocPriority - set to "50" (or anything else)
13. WebPageWorkflow - set to a single stage workflow ***

*** You'll need to create a Quick workflow for these documents - no approval.

14. WebPageDocType - set to "External Feed" - or whatever you have called your Document type for this type of document.
15. WebPageStyle - set to "External News Feed" - or whatever you have called your PageStyle
16. WebPageLinkToDoc - set to "Yes"
17. WebPageWorkflowCurrStage - set to the final workflow stage name in the Workflow listed above - probably "Published" or "Live"
18. WebPageWorkflowCurrApprovers - set to "*"
19. D_WORKFLOWDISPLAY - set to the same as 17.
20. D_DocReadersH - set to "*"
21. You also need to set the PageStyleID which is the ID of the Pagestyle to be used - duh!

There are probably a couple of other fields that I have missed out... but that should get you started. The easiest way to workout what you need to set, is create a "blank" document that you want to use and write down every FIELD that has been set.

If you get into trouble or need any further assistance, I'm always available for consultancy... at a very reasonable price! I've designed a much more advanced searching facility for Aptrix for multi-database searches as well as fixing a whole heap of bugs/issues with Aptrix. I'm in constant discussion with the developers in Sydney at IBM.

Cheers, Pete.
Lotus Notes Developer / Aptrix Consultant
e: Pete.Raleigh@lclimited.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top