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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating FORM and adding new version via LAPI

Status
Not open for further replies.

xcerv

IS-IT--Management
Feb 18, 2009
15
CZ
Hello,

I would like to add a FORM object via LAPI and also I would like to add new versions to this form via LAPI.
I mean a form outside of workflow.
Is that possible?

Thanks,
xcerv
 
You would have to check if the API supports this via the LL_CreateObjectEx method, am sure AppNair will know ;), if not you may have to extend it to do so, see for a starter on how to do this.

The other option is to use WebServices on newer versions of Livelink/Content Server as LAPI is being discountinued.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Hello Greg,

thanks for the information. Since you mention the services, is it possbile to create and add version of form via the web services? Can you be more specific how?

Thanks a lot,
xcerv
 
Old LAPI you would have to install the FormsAPI as well in your lapi to do so.WebForms is not currently supported for OT vended WebServices code but webservices is supposed to be extended by anybody who needs it so if you know oscript you can write your own support for webservices and forms.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Hello Appu,

I know it is a question for OT, but do you know if they are going to support the forms in web services in some future version?
Will the Forms API work in the current version of CS10?

Thanks,
xcerv
 
I expect that they will, WebServices were added to the stack in 9.7.1 and have really been expanded and enhanced in CS10, so look out for future service packs etc. I'd recommend logging a support call / feature request with OT on this so that have the tickets to help drive this up the priority list for the next patch/SP etc.

Creating your own WebService interface is relatively simple to do yourself or you can get someone in for a few days to do it for you.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Hello All.
I want to extend the previous question. Greg has a sample of a tutorial code which creates a new attachment in workflow. I need help with updating the code. I would like to add the created node not as an attachment, but as a new version of exist Node type Form (NodeId as attribute in WF) which is somewhere in Livelink.
My code now creates a new version through lNode.NodeUpdate(formNode, UNDEFINED, False) but this version doesn't have any data from workflow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top