Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Populating Form Fields through LAPI 9.0.0.1 in a WF initialise
Rolf_Poser_(icisuser3_-_(deleted))
Hello:I need some assistance with the choice of Java methods to use to populate the values of the fields within a Form during a workflow initialisation step. (I am NOT using the form to initialise the workflow - I am using a SQL table to store the contents of the form though.)I can set the comments and attributes OK, but the documentation doesn't give me enough detail to add the correct field-value pairs. The specified "DisplayType" doesn't seem to do the job.It seems there are three paths I could persue:1) Sweat it out, and try and use object/category/attribute calls to do most of this by hand. (Which ? Do I need to populate a "dataAssoc" structure with IDs? How do I retrieve the IDs automagically, using only the fieldname ?)2) Use the new Forms LAPI methods to do the work (what is "MVA" format, and could someone give me an example of "flatData" and "data" constructions, please ?) This new API set seems to make no reference to its use within a workflow LAPI set of calls - can these work together ? 3) Try and use the given workflow API calls to complete the correct value population. (How?)Any help would be appreciated.Kind Regards,Rolf.+27-83-680-4250 / rolf.poser@za.didata.com
Find more posts tagged with
Comments
Chris_Pratt-Johnson
What is the "new Form LAPI methods"? Where are they documented?Thanks
Rolf_Poser_(icisuser3_-_(deleted))
On a standard install you should be able to find it at:c:\opentext\builder\documentation\module\form\form_api_call.htmlorc:\opentext\module\form_4_0_0\documentation\form_api_call.htmlAlso see the 9.0.0.1 SDK release notes, and the "Known Issues" section for the note on making sure the ospace files are included and are in the right place.I am including a reference to the SDK release notes for your convenience.(By the way, I chose to go and find the data structures manually to populate the form within a workflow, since the abovementioned calls seem to be specific to stand-alone forms. They could be useful to obtain the ID numbers of the fields so that you can create the data structures for the workflow form. If I could only make progress with setValue(int,LLValue), then I would be able to get the form to be filled in automagically!!)Kind Regards,Rolf.+27-83-680-4250 / rolf.poser@za.didata.com
Calvin__Rhodes_(aberuser1(expired))
I'm looking for LAPI methods or other means (SQL update?) to populate fields of a workpackage form after the workflow has been started. Does anyone know how to do this?Loren PettijohnJava Application Developerlpettijo@atc.army.mil
Mahmoud_Dayeh_(ecead_mad_(Delete)_2045359)
hi,I am using a database update statement.Notice that u require to put 2 single quotes in order to get the quotes into the database.Assuming that i have 1 field on form and TERM is the variable holding the form field value the string is created as follows- wfstring = "A<1,?," + "''Data''" + "=A<1,?," + "''DataAssoc''" + "=A<1,?," + "''Values''" + "={A<1,?,2=A<1,?," + "''ID''" + "=2," + "''Values''" + "={" + "''" + TERM + "''" + "}>>}>," + "''LL_TemplateVersion''" + "=1>," + "''ID''" + "=1," + "''Name''" + "=" + "''SVU Undergrad Application Template Form''" + "," + "''StorageMech''" + "=0," + "''SubForms''" + "={}," + "''SubFormTemplateIDs''" + "={}," + "''TemplateID''" + "=1677," + "''Version''" + "=true," + "''View''" + "=" + "''Application Form.html''" + ">"regards,gayathri Sgayathri@eccdxb.co.ae
Len_Palmeri_(kmartadmin_-_(deleted))
Is there a way to update a HTML form and initiate a livelink workflow from outside of livelink ? Is there a sample code available for this ?
Marc_Gelissen_(MorningstarUser6_(Delete)_2298316)
This module makes it possible to connect Active Server Pages to workflow steps and communicate attibute values forward and backwards from the ASP page to LL and v.v.This module makes it also possible to start up a workflow out of an ASP page. If you want to know more about this, please contact me.RegardsMarc Gelissenmgelissen@morningstarsystems.nl
Mahmoud_Dayeh_(ecead_mad_-_(deleted))
Hi,How does the ASP send data to your oscript module.Could you throw some light on what you are doing?regards
Nethaji_Narasimalu
Dear eLinkHas anyone made any changes for LL Workflows through LAPIso that by setting due date a Workflow recalculates thestart date?All comments will be appreciated.Regards,