The JSRequest class is a JavaScript object that lives on all SharePoint Pages, and allows us to simply and quickly get query string parameters using JavaScript.
It has 3 fields: QueryString, FileName, and PathName.
- QueryString - is an array of key\value pairs representing the current query string parameters.
- FileName - is a string containing the current name of the current page.
- PathName - is the server relative path of the current page.
Usage:
//First we must call the EnsureSetup method
JSRequest.EnsureSetup();
//Get a query string parameter called ItemId. i.e - "page.aspx?ItemId=11" will return 11
itemId = JSRequest.QueryString["ItemId"];
//Get the current page name. i.e - "default.aspx"
itemId = JSRequest.FileName;
//Get the current path name. i.e - "/itaysk/doclib/default.aspx"
itemId = JSRequest.PathName;
I have found no proper documentation for this so I hope it can help.
-- My name is Itay Shakury (itaysk) and I am a SharePoint consultant --
I have started using Google Apps heavily for personal purposes.
When I tried getting to my Apps management site using Chrome, I got this message:
Funny huh..? Don't worry, If you ignore that message everything works fine..
This is an update and closing post for the SharePoint Designer \ Data Form Web Part context menu bug.
This post just let you know that recently Microsoft released a hotfix (KB 958692) for this bug.
http://support.microsoft.com/kb/958692
The hotfix simply automates the steps detailed in my previous posts.
By the way... Can you spot the difference?
-- My name is Itay Shakury (itaysk) and I am a SharePoint consultant. --
אני לא יודע איך, אבל התוכן המקורי של מה שהיה פה נמחק ואין לי כוח לשחזר אותו..
מה שהיה כתוב כאן זה 2 דברים בעיקר:
1. עזבתי את אדוונטק והצטרפתי לקבוצת SRL
2. הבלוג קיבל כתובת חדשה:
blog.itaysk.com