Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 16, 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: Screen Release
Venkatesh
Posts: 72
 
Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Sep 08 12:12 AM
I am done with my customization in Saleslogix Web Client and now it is my release time, during this moment I have got one critical issue to release all the forms and all the options which are available in the screen i.e.,Remove Account & Contact, Move Contact etc., to the user. At the beginning I thought there will be some place to retrict all these things but unfortunately I am unable to find it. Can anybody suggest me a solution for this problem? Basically I need to restrict some of the functionalities from the screen and also to restrict some of the screens (some tabs) to the user. Please let me know the easiest way to achieve this....
[Reply][Quote]
Venkatesh
Posts: 72
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Sep 08 12:20 AM
Please let me know whether this is a silly question or nobody is aware of providing security to the controls.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Sep 08 1:14 AM
I guess I don't 100% understand the question. Can you describe in more detail what you are trying to do?
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 08 3:30 AM
Hi Venkatesh,

I think that you need to implement Role security. In App Architect, in Security Explorer, you can create new Roles and link users to that Role.

Individual tabs can be linked to different Roles in the Portal Page (for example, if you open the Account Details portal page, you will see a "Role" drop-down for each smart part).

Within each tab you can also make calls to the IsUserInRole function to see if a user has that role (see code below). Then, you can do things like hide the Save and Delete buttons, etc.

Does that help?



Stephen

// First, I need to get the current User
Sage.SalesLogix.Security.SLXUserService userService =
Sage.Platform.Application.ApplicationContext.Current.Services.Get
()
as Sage.SalesLogix.Security.SLXUserService;

Sage.Entity.Interfaces.IUser user = userService.GetUser();

// Get the user name
String username = user.UserName.ToString();

bool userIsInRole =
Sage.SalesLogix.Security.User.IsUserInRole(username, "MyRole");
[Reply][Quote]
Venkatesh
Posts: 72
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 08 12:52 AM
Thanks Stephen. Do we need to manually check in all the places wherever we need to hide or show the button?
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 08 2:54 AM
In the web, you need to turn on a button if you have turned it off earlier - it won't automatically reset. So you will have to code it.

[Reply][Quote]
Venkatesh
Posts: 72
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 2:39 AM
Hi Stephen,

Can you please tell me how to restrict navigation for a specific users? For tab we have Allow roles combo but for navigation there is no option for setting the roles.
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 4:10 PM
Hi,

Have you tried coding the buttons as Visible = false? I haven't tried this myself.

Each button and menu has a control ID.


Stephen
www.slxmaster.com
[Reply][Quote]
Venkatesh
Posts: 72
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 10:56 PM
Hi Stephen,
Thanks for your response. For button there is no issue, but for Menu and left Navigation I don't know how to restrict? Could you please help me on this?
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 08 2:22 PM
Hi,

Like I said before, I haven't tried this. You will need to experiment.


Stephen

[Reply][Quote]
Venkatesh
Posts: 72
 
Re: Screen ReleaseYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Nov 08 3:18 PM
I made an experiment it looks like more than 50 pages I have to do modification to make it work. Please let me know if you identified anything?
[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): 8/16/2025 7:47:18 PM