Basic scripts dont seem to run as a button, trigger or task item for onsite 10.5.4 but fire in the edit script area - getEventData does not seem to work with OnSite at all

lock
push_pin
done
Answered
2

Hi All,

I need to create a script for an onsite client as part of a move to online, my recently learnt basic scripting seems to be going no where.

I'm using the same script logic that works on all the online tenents but nothing not even a company.load seems to work onprem. 

Can anyone see what I'm missing from the below ? Does anyone else find that getEventData brings back nothing for OnPrem CRM ?

I get "something went wrong" on more than one Onprem site even with a basic company.load. I cant seem to get anywhere - thanks for your help :-)

 

8 h, 20 m ago | 09:52 AM

All Replies (2)

Hi,
Not sure but check so that the symetric keys are same in SO Sales and SO service config files.

That has been the problem for me especially in long time running "OnSite" environments that was originally setup long time ago..

//Anders

8 h, 3 m ago | 10:10 AM

@Anders Larsson Thank you so so much - life saver thanks to your pointer information

I checked on the server and noticed that the Symmetric Key & Secret were different on the SuperOffice7Service "config" file compared to the SuperOffice7Web "web" file.

Once they both matched - I got no error when running the script.

 

6 h, 57 m ago | 11:16 AM
Perfect! Happy that it helped :-)
It is a bit strange, and not always easy to find out. Some scripts work but not others.

Kudos also goes to @David Hollegien, that helped me with this type of strange error some year ago. (that time it was the REST API.s not working correct if the Symetric Keys/secrets did not match)
6 h, 9 m ago | 12:04 PM

Add reply