Forum Discussion
christopher_gillis
8 years agoCommunity Manager
Hi Angela,
Typically, the URL should re-point to the most recent salt value if you try to navigate to a url with an older salt directly. If this isn't happening, you can also try to follow the steps below to change a salt value in the database.
- Login as admin
- Navigate to Administration > Variables
- Search for the "Aras.MetadataService.Salt" Variable
- Increment this value by 1 whenever you want to push a change to your clients
- e.g. 0 > 1 > 2 > 3 > etc.
- Similar to the value in the web.config, you should use whole numbers without '.' or '-'
- Save, Unlock, and Close this Variable
neil_lindberg
5 years agoCreator III
Hello, Chris,
With the information you presented here could I modify the Item Type > Method to add an "OnAfterSave" event that pointed to a Method that works as an auto-increment of this value? Also, would it make sense to only do this if the method you've added or modified were JS/Client-side?
If you wouldn't mind could I get a sample of how to get at that variable inside a C#, Server Side method? I'm going to try right now. Will post if I get it figured out.
Thanks,
Neil