function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AmitabhleoAmitabhleo 

scontrols being run only by adminstrator

Hi,

I have a problem I have created a  scontrols, which I am running through custom button link.

The button is visible to all the users in my organisation, but when they run the scontrol in the existing window with side bar.

The window and side bar appears and the rest of the screen just blanks out.

I have checked all the field level permissions they are perfectly all right.

Please help me out.

Thanks in advance.

Regards
Amitabh

Message Edited by Amitabhleo on 10-08-2007 04:21 AM

KANAKKANAK
Do you can show your code or describe what exactly your s-control do?
AmitabhleoAmitabhleo
Dear Kanak,

Details of the s control

My s-control runs from the Opportunity detail page custom button link. It does the following :
  1. Queries the Opportunity Line item (for the Opportunity Id) from Opportunity detail page.
  2. Totals a formula field (Gross Contribution)
  3. Populates this Gross contribution in a GC field in the Opportunity.
This s-control works fine from the administrative login.

Thanks and regards,
Amitabh

KANAKKANAK
It is very strange! Problem like this can appear when field-security level is not fine. I recommend to you make debug points. If you don`t have any tool, you can insert to your code alert("blablabla") as example . You can understand where the problem is.
AmitabhleoAmitabhleo
 Thanks all,

I had not enabled the API for my users.

Regards,