dimanche 13 juillet 2008

Allow script in SharePoint Pages

i forget to mention something related to get script work inside SharePoint page.
the key is you must add a tag in web.config file own to the current web application :

so inside you wouild find the file.open it and browse to 'SafeMode' tag, inside it you'll add this tag :

in this example by indicating 'VirtualPath="/*"' i assumed that script is safe inside all my pages, so personalize yours you will replace it with the page path like: /_catalogs/masterpage/default.master for just execute script inside default.aspx

Aucun commentaire: