Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 1, 2025 
 
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: Invoking a EntityPortalPage via button press - startup issue
Jeffrey Johnson
Posts: 69
 
Invoking a EntityPortalPage via button press - startup issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Dec 09 2:22 PM
I have an entityPortalPage that contains 3 tabs (ascx, smartparts) which is invoke when the user clicks on a button in the Nav bar menu under Marketing. The question I have is, is it possible to call a function (OnInit ?) before the smartparts are loaded to do some account verification logic; if so, what event and/or function do I override?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Invoking a EntityPortalPage via button press - startup issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Dec 09 3:21 PM
Typically you'd put that sort of validation logic in the entity itself, not on a form the entity is used on. Can you describe more about the type of validation you are wanting to do?
[Reply][Quote]
Jeffrey Johnson
Posts: 69
 
Re: Invoking a EntityPortalPage via button press - startup issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Dec 09 3:53 PM
Sure,

Basically, I want to inform the user of error or allow user to see my CoolNew.aspx portal page based on a database field in my table. I would like to read that database field on the click of the Nav button then show the user a blank page in CoolNew.aspx (with msg saying not authorized etc and dont show the tabs). I supposed I could try to use roles. Currently, I am doing the validation in the OnInit of the first tab.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Invoking a EntityPortalPage via button press - startup issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Dec 09 4:09 PM
You may want to look into the Link Handler class. If you notice, the Menu items under Schedule invoke a Javascript function. That in turn calls some server side code, which you can use to programatically determine if it is ok to proceed to the Page or if you rather redirect the user to different content.

Now, that would not prevent the users from typing your page directly into the Address bar and accessing it, so you probably should either use Roles, or have validation code built into your Tabs as well.


[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 © 2025 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): 7/1/2025 6:21:08 PM