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
Find all objects on form?
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
211
Members:
0
Total:
211
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Design Studio
Find all objects on form?
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
George Graham
Veteran Member
Posts: 201
12/15/2011 9:57 PM
Anyone know how programatically to get a list of all objects on the form? Trying look at something to loop through all of the objects for a specific purpose....
John Henley
Senior Member
Posts: 3348
12/16/2011 1:00 PM
You can certainly do it with javascript, but I guess I would ask, "why?" There are plenty of HTML/Javascript/DOM explorers that can plug into the browser that will give you that.
George Graham
Veteran Member
Posts: 201
12/19/2011 3:20 PM
We have several forms being developed in DS (appropriately) but delivering them through MSS bookmark to managers. We would like the "look and feel" to be as close to the MSS stylesheets as much as possible. We do not want to deliver this as a custom html like EMSS forms since they are fairly easy extension of standard lawson forms. However, since MSS forms are delivered as dynamically created html - and we can't really control it at that level is DS - the thought was we can control a good deal of the style attributes of the form and objects - but we need the object ID in order to do that.
And since we want to use a generic approach (and single source code approach) that we could come up with a generic javascript that loops through the objects and set the styling appropriate.
I am open to other alternative - we have not been successful and trying to apply a CSS dynamically in DS....
John Henley
Senior Member
Posts: 3348
12/19/2011 3:44 PM
One idea would be to display the customized page inside an iframe, and use javascript to set the CSS link
var cssLink = document.createElement("link")
cssLink.href = "style.css";
cssLink .rel = "stylesheet";
cssLink .type = "text/css";
frames['frame1'].document.body.appendChild(cssLink);
George Graham
Veteran Member
Posts: 201
12/19/2011 4:02 PM
That might make sense - but not sure how you take a standard form and push it inside of an iframe within DS? For example, if we take CU01 as a standard form - doesn't lawson portal handle the pushing of the XML inside the main content frame already? How would we push this to a frame?
John Henley
Senior Member
Posts: 3348
12/19/2011 4:47 PM
Perhaps I misunderstood. Didn't you say you are trying to host a DS customization of a standard form from within an ESS/MSS page?
George Graham
Veteran Member
Posts: 201
12/19/2011 4:55 PM
Not inside the page - the forms are stand alone - but they are being delivered to managers to do some transactions that are not part of the standard EMSS. So therefore we are trying to make them look similar (not identical) to the standard forms...That is why the thought was to handle the styling on the objects of the DS form...
You are not authorized to post a reply.