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
FORM_OnAfterFrameworkInit() trouble
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:
286
Members:
1
Total:
287
Online Now:
klkemp100
New Topics
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
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
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
FORM_OnAfterFrameworkInit() trouble
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Jeff DeWitt
New Member
Posts: 2
6/23/2011 5:13 PM
I am trying to hide a button (Change) on a form before the user has access to the button (I'll show it later if the data indicates the button should be allowed). I believe the best place to do this will be in the FORM_OnAfterFrameworkInit() method. Unfortunately, I can not seem to get even an alert("Here"); to work in my form to confirm that this function is even working. The Add and Change buttons are getting put on the screen so I am sure this step in the form loading process is happening. Does anyone have any thoughts as to why this doesn't seem to be working?
Code:
function FORM_OnAfterFrameworkInit(){
alert("FORM: onAfterFrameworkInit");
)
I have other form event functions working properly with the same code, just different form event function (FORM_OnInit(), FORM_OnBeforeTransaction(fc)...), but this one does not seem to be happening.
Thanks,
Jeff
ShawnV
Advanced Member
Posts: 37
6/23/2011 6:31 PM
I was able to get an alert to display in my OnAfterFrameworkInit. If the above code sample is copied right from your code, you may want to check your closing curly brace for the function. You have a ")" instead of a "}".
Jeff DeWitt
New Member
Posts: 2
6/23/2011 6:45 PM
Thanks for the quick response!
The bottom curly brace was a typo in the post, I copied the top section and missed the closing brace.
Are you running 9.0.1?
Jeff
David Williams
Veteran Member
Posts: 1127
7/26/2011 12:12 AM
Lawson changed some form behaviors recently. Try using onafterdatainit.
Deb Avery
New Member
Posts: 1
9/29/2011 5:56 PM
I am having a similar issue - we patched to 9.0.1.5 and have a custom form built for EE20.3. There were quite a few changes to this form and I am trying to fix my custom form now. I have a function that will clear the toolbar so it is not visible to the end users, but it is not working now. It was doing this function OnAfterFrameworkInit and I moved it to OnAfterDataInit, but it is not working. Does any one have any suggestions on how I can fix this? Thanks.
You are not authorized to post a reply.