infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Display Exec not receiving page.parameters values
Legacy Contributor
I am working on a new approval flow and I am having an issue with the in-basket display exec. This is for a xml in-basket. It seems that the key values are not being passed to the portal page. If I put in alerts to display the page.parameters.XXXX value they are undefined. I have done this before without any issues. Does anyone know how to debug this or have suggestions for what I should be be looking at. I feel that this must be something simple but I have looked at this for a while now and I am just not seeing it.
Thanks,
[Updated on 4/27/2015 8:45 AM]
Find more posts tagged with
Comments
Legacy Contributor
Did you double-check your approval node, Work tab, and verify that the correct Display exec is there?
jacob-jellison
You may need the parent. prefix as shown below....also check for typos on variable names...they must be named the same as the in the service:
function FORM_OnBeforeTransaction(fc)
{
lawForm.setDataValueById("text1",parent.page.parameters.PJR_COMPANY);
lawForm.setDataValueById("text2",parent.page.parameters.PJR_REQUISITION);
return true;
}
Legacy Contributor
Thanks for the responses. I knew it was something simple. It turns out the issue was with the page.parameters variable name. They didn't match the variable names that I had defined for the service.
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices