Hi,
My requirement was to depoly a javascript file to the style library in a Site collection. To associate this js file to the custom ribbon action which would be using the javascript functions, I added the following code to the feature activated method:
Now, I am getting an error which ever site page i am trying to open on my browser:
"/_layouts/http://webapp:port/sites/mysite/style library/InitiateworlflowFiles/CustomRibbonActionforWorkflows.js is not a valid virtual path"
I am not able to update the scriptPath, tried deactivating the feature and uninstalling it, nothing seems to work. I am able to open the site in SPDesigner, but not able to see the ScriptLinks hardcoded there. Tried to attach a different master page, but the issue is persisting. Not ale to make sure where the ScriptLink reference is coming from.
Any guidance on how an already added ScriptLink can be edited/removed will be much appreciated.
Thanks
Grigory