Best way to get from a custom action js command an webconfig appsetting key value, or another similar approach. ideas?
thanks.
Reference a .js file on a custom action elements.xml
on my javascriptmethods.js file:
function test(){
alert('test message.');}
on my custom action elements.xml:
<CustomAction
Location="ScriptLink"
ScriptSrc="/_layouts/.../javascriptmethods.js" Sequence="100">
<CommandUIHandlers>
<CommandUIHandler Command="MyCommands.Alert"
CommandAction="javascript:test();" />
</CommandUIHandlers>
what's missing?