Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 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!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Create new user with security restriction
20pippo05
Posts: 46
 
Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Apr 09 8:06 AM
I want create new user with security restriction.The new user,can't modify opportunity for a condition (if one field of OPPORTUNITY TABLE is null,can modify...else can't modify).the new user can add opportunity.
Is possible?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Apr 09 11:58 AM
You'll need to write some script to enforce this rule.
[Reply][Quote]
20pippo05
Posts: 46
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Apr 09 1:48 PM
Ok,i can create ActiveScript in Architect but what family association?In Admistrator i can set some rules of user(permission of add account,opportunity....and delete account,opportunity) but i don't find edit opportunity
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Apr 09 5:50 PM
There are several ways of doing it. One is to create a new team - say OppSpecial - and assign the user (and any others who are subject to this condition) to it.

Then in the code for Opportunity Detail, include script in the OnChange event similar (in effect) to the following

If (Condition) and (User in team OppSpecial) Then
Disable Form Controls
Else
Enable Form Controls
End If


You may find the following helpful in disabling your form controls:

http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=70

[Reply][Quote]
20pippo05
Posts: 46
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Apr 09 5:19 AM
Must i modify the script of Opportunity detail in Architect and add the code?thank you
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Apr 09 7:02 AM
Yes!
[Reply][Quote]
20pippo05
Posts: 46
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 May 09 3:48 AM
ok,i create the FORMWRAPPER class in the OPPORTUNITY DETAIL form.Then i write in the Sub AXFormChange(Sender) :

frm.readonly=true

In saleslogix client i can modify the opportunity detail but i don't want it.Why?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 May 09 6:34 AM
That's not enough. In fact, I'm not sure that it will have any effect at all. Did you look at the link I posted before? It tells you what to do.
[Reply][Quote]
20pippo05
Posts: 46
 
Re: Create new user with security restrictionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 May 09 7:21 AM
yes,i have read but i don't understand what do it.I create the FORMWRAPPER class(equal to example in link) and i add the istruction for use the class.What should i do?
[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/26/2024 11:42:10 AM