Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: I'm not sure if this is even possible..
RJ Eaton
Posts: 234
 
I'm not sure if this is even possible..Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Oct 15 9:35 AM

In the LAN client Ryan wrote a great article on how to update and access controls across forms..


I have an insert page in the 8.1 web client which has two forms in the main section..


I'd like to have the second form either hide a control or update a control based on the actions of a control on the first form..


Do I need to deal in the workspace.. and how do I ensure I have the currently loaded 2nd form..?


 


 

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: I'm not sure if this is even possible..Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Oct 15 10:50 AM

This is usually handled in the web client by simply updating the properties of the bound entity. This is the rule in general for updating controls in forms in the web client. Instead of updating the control, you just update the bound entity properties. When the postback is done occurring the controls will reflect the values in the bound entity.

[Reply][Quote]
RJ Eaton
Posts: 234
 
Re: I'm not sure if this is even possible..Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 15 7:43 AM

Thanks Ryan.. Basically what I am trying to do is change the properties of a control on the second form based upon values either entered by the user or changed by the user on the first form.


 


Trying to hide tabs on a multitab control on the second form based upon the value in a picklist on the first form without reloading the entire form since it could be an insert at the time..

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: I'm not sure if this is even possible..Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 15 1:24 PM

If you set entity properties in one form, those will be available in the bound entity in other forms on that page. If you're wanting to pass values that aren't necessarily entity properties, you can use the page state. See http://customerfx.com/article/passing-values-between-forms-in-infor-crm-saleslogix-web/. Add items into the page state in one form and read them from the page state in another form. In the form you want to read them from (and hide tabs on the multitab control) just look for them in a LoadAction and make sure the LoadAction's Repaint Event is set to true so it executes on each page postback.


Ryan

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 6:02:22 PM