Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
Design Portal Page Objects
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
47
Members:
0
Total:
47
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
User Experience
Lawson Design Studio
Design Portal Page Objects
Please
login
to post a reply.
1 Replies
0
Subscribed to this topic
13 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Robert Spurr
Veteran Member
Posts: 130
New Poster
Congrats on posting!
5/18/2011 12:37 PM
I have a portal page with a formlet and DME object. When I inquire on the form I get the DME to refresh correctly. The DME rows have checkboxes where the user can select 1 or multiple rows. I want to gather information from the selected rows and pass values from the form to a processflow trigger. To do this I put a button on the form but this is where I'm having problems. The script tied to the button doesn't seem to find the DME object and errors on page. I put an alert just to see if it was getting past objDME and it never does. Can a formlet script see the portal page object? Am I missing a step? Any guidance would be appreciated.
function request_OnClick()
{
var vLineNbr = "";
var objDME=page.objects["attestationpo1a"];
alert("Found Object");
aRows = objDME.getCheckedRows();
var loop = aRows.length;
if (loop == 0)
{
return true;
}
for (var i=0;i
{
vLineNbr = objDME.getValue("LINE-NBR",aRows[i]) + "|";
}
alert (vLineNbr);
return true;
}
Thanks Robert
David Williams
Veteran Member
Posts: 1127
New Poster
Congrats on posting!
5/18/2011 12:53 PM
Split
Does the button have to be part of the form? I've used a text object on a portal page and had users click that to trigger my function. If you could add the text object "button" on the portal page (instead of within the formlet) this might solve your problem.
Please
login
to post a reply.