JavaScript not executed in SharePoint sites - possible Microsoft Hotfixes (KB 2600088 or KB 2600217) no longer available? Other solution?

Hi,
I'm not sure if this is the right place for that question - sorry if it belongs somewhere else.
I've got the problem that newer IE versions like IE 10 or 11 won't execute JavaScript in my SharePoint application pages and after some research I found out, that for some reason the browser doesn't get recognized properly in combination with the .NET Framework,
what causes it to be running in an old mode where JavaScript etc isn't even activated or something like that.
I also found out, that there already are hotfixes for this problem and tried to download the hotfix KB 2600088, but the link I get from Microsoft via mail always leads to "The
resource you are looking for has been removed, had its name changed, or is temporarily unavailable."
After that I found out, that KB 2600088 is included in another update KB 2600217 but this ALSO sends me to a page not found error....
Is there any possibility to get one of these hotfixes or is there maybe another solution for this problem?
If I set the document mode of the browser to IE 9 it works, but this is no acceptable solution.

If the users are in your domain, you can use Group Policy to add the site to Compatibility View:
http://stackoverflow.com/questions/16687978/internet-explorer-how-to-force-compatibility-mode-for-certain-sites
An updated browser definition for ASP.NET and the .NET 3.5.1 Framework is available at:
http://support.microsoft.com/kb/2836942
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • I have PSE13 on my system.  It was functioning properly and now I get these messages when I go to print:  "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You need to c

    I have PSE13 on my system, Windows 8.1, 64-bit.  It was functioning properly after installation and now I get these messages when I go to print:  "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You need to check your printer settings before printing."  and then this statement:  "Default printer could not be opened."  I have reloaded drivers for both printers and made any upgrades possible.  It was working fine before and now all of a sudden, nothing.  Would prefer to have old PSE v.12 back, it worked with no problems.

    See this thread
    My Photoshop Elements 13 doesn't recognize my Canon PRO-10 printer. I've tried EVERYTHING. Reinstalled all my software, didn't fix anything. Can anyone help?

  • I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to che

    I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to check your printer settings before printing."  I have uninstalled and re-installed Photoshop Elements, checked my printer settings and still I can't print a photo.

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

  • I cant print and get this message, "adobe elements, "the saved printer information is not compatible with this version of photoshop elements, or the saved printer is no longer available. you will need to check with your printer settings before printing."

    I keep getting this message when trying to print in adobe elements, I am using a new Epson WF-3640 printer
    "the saved printer information is not compatible with this version of photoshop elements, or the saved printer is no longer available. you will need to check with your printer settings before printing.

    Hi,
    If you are working in PSE13, please update it to latest PSE13.1 update available and see if it helps.
    To apply update, you can go to Help > Updates and there you can see PSE13.1 update.
    Thanks,
    Anwesha

  • JSF 2.0 beta2 - JavaScript not execute in ajaxreponse +  Parameters: Invali

    Hi,
    I'm testing JSF2.0 beta2.
    I found the following problems:
    1) The JavaScript is not executed in the ajaxresponse.
    I solved it by adding the following JavaScript code to my xhtml file:
              function executeScripts(data) {
                  if (data.status == "success") {
                        var rXML = data.responseXML;
                        //alert(data.responseText);
                        document.getElementById("log").value = data.responseText;
                        if(i++ %2 == 0)alert(data.responseText);
                        var updates = rXML.getElementsByTagName("update");
                        for (var u = 0; u<updates.length; u++) {
                             var update = updates[u];
                             var children = update.childNodes;
                             for(var i=0; i<children.length; i++) {
                                  var child = children;
                                  if(child.nodeType == 4) { // CDATA
                                       var tmp = document.createElement("span");
                                       tmp.innerHTML = child.nodeValue;                              
                                       var scripts = tmp.getElementsByTagName("script");
                                       for(var s=0; s<scripts.length; s++) {
                                            eval(scripts[s].innerHTML);
         window.onload = function init(){
              jsf.ajax.addOnEvent(executeScripts);
    2de problem:
    When I add extra params to the jsf.ajax.request function i got a warning in my tomcat6 console:jsf.ajax.request(document.getElementById("f:surname"), null,{execute:'@this',render:'@this',frmAjaxSuggestExecuteAjax:'true'});
    Warning:
    26-jul-2009 23:08:48 org.apache.tomcat.util.http.Parameters processParameters
    WARNING: Parameters: Invalid chunk ignored.
    I only has this warning on adding extra params.
    I know this error from the past.
    Then it was caused by using wrong syntax for the request parameters. example:
    http://myhost/mypage&paramA=1&paramB=2 (note there is no ?)
    http://myhost/mypage?paramA&paramB=2 (note there is value for paramA)
    3de problem
    It's more a question than a problem.
    The following javascript is added to my xhtml code:
    <script type="text/javascript" src="/xhtml/javax.faces.resource/jsf-uncompressed.js?ln=javax.faces"></script>
    I don't have any idea how this javascript cames into my sourcecode.
    I did not add it as resouce to my component@ResourceDependencies({
         //@ResourceDependency(name="ajax.js",library="javax.faces",target="head"),
    Regards,
    Pieter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    I'm testing JSF2.0 beta2.
    I found the following problems:
    1) The JavaScript is not executed in the ajaxresponse.
    I solved it by adding the following JavaScript code to my xhtml file:
              function executeScripts(data) {
                  if (data.status == "success") {
                        var rXML = data.responseXML;
                        //alert(data.responseText);
                        document.getElementById("log").value = data.responseText;
                        if(i++ %2 == 0)alert(data.responseText);
                        var updates = rXML.getElementsByTagName("update");
                        for (var u = 0; u<updates.length; u++) {
                             var update = updates[u];
                             var children = update.childNodes;
                             for(var i=0; i<children.length; i++) {
                                  var child = children;
                                  if(child.nodeType == 4) { // CDATA
                                       var tmp = document.createElement("span");
                                       tmp.innerHTML = child.nodeValue;                              
                                       var scripts = tmp.getElementsByTagName("script");
                                       for(var s=0; s<scripts.length; s++) {
                                            eval(scripts[s].innerHTML);
         window.onload = function init(){
              jsf.ajax.addOnEvent(executeScripts);
    2de problem:
    When I add extra params to the jsf.ajax.request function i got a warning in my tomcat6 console:jsf.ajax.request(document.getElementById("f:surname"), null,{execute:'@this',render:'@this',frmAjaxSuggestExecuteAjax:'true'});
    Warning:
    26-jul-2009 23:08:48 org.apache.tomcat.util.http.Parameters processParameters
    WARNING: Parameters: Invalid chunk ignored.
    I only has this warning on adding extra params.
    I know this error from the past.
    Then it was caused by using wrong syntax for the request parameters. example:
    http://myhost/mypage&paramA=1&paramB=2 (note there is no ?)
    http://myhost/mypage?paramA&paramB=2 (note there is value for paramA)
    3de problem
    It's more a question than a problem.
    The following javascript is added to my xhtml code:
    <script type="text/javascript" src="/xhtml/javax.faces.resource/jsf-uncompressed.js?ln=javax.faces"></script>
    I don't have any idea how this javascript cames into my sourcecode.
    I did not add it as resouce to my component@ResourceDependencies({
         //@ResourceDependency(name="ajax.js",library="javax.faces",target="head"),
    Regards,
    Pieter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Every time I navigate to a new site or page I also get additional new tabs opening which say 'Microsoft Exchange Server 2007 - this page is no longer available', so I soon end up with an extra tab every time I navigate to a new page.

    so I am geting an additional unwanted MS Exchange tab/window every time I navigate to a new site or bookmark. i recentlly upgraded to Firefox 5.0 and I think this problem may have started around the same time. I also have MS Outlook but this is stand alone and I do not synch online at all, and have not changed any settings in it.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • SharePoint 2010 migration - web part gallery shows "This item is no longer available ... Click OK to refresh page

    This error IS on the WEB PART GALLERY itself.  I have dealt with it on other libraries by deleting the listview web part and adding a dataview web part. 
    However, if you try to add a dataview web part the web part gallery  the gallery is not available under lists or libraries so their is no way to add.
    I have also tried creating other views as suggested by some articles
    I have the view application pages permission as suggested by other articles.
    I believe I have read every article related and am unable to find an answer. 
    Any help on this would be appreciated. 
    As a side note, I have an option called "Manage Columns" when I go into the library settings for the Web Part Gallery.  Is this normal or is it some sort of add on. 
    Thanks for listening ==Lee
    --Lee

    Same problem, but with sharepoint 2013 after upgrade. Will post if i find a solution.
    Seems like it is getting a 401 error on some URLs from fiddler. Here is a working list on a different site, same web application. the 200s are the working list and the 401s are the non working ones.
    # Result Protocol Host URL Body Caching Content-Type Process Comments Custom
    69 401 HTTP WEBSITE.DOMAIN.COM /LIST1_BROKEN/_layouts/15/inplview.aspx?Cmd=Ctx&List={3B84632C-53EB-48EC-AF99-8616808BA2F3}&View={4A1F6B9A-F58A-4D02-9820-9145D056B4F2}&ViewCount=1&ID=8631&ListViewPageUrl=http://WEBSITE.DOMAIN.COM/LIST1_BROKEN/Lists/servicerequests/OpenSRs.aspx 0 private iexplore:4116
    # Result Protocol Host URL Body Caching Content-Type Process Comments Custom
    71 401 HTTP WEBSITE.DOMAIN.COM /LIST1_BROKEN/_layouts/15/commandui.ashx?ver=-1271193892&id=Ribbon.Read&lcid=1033&qt=ribbonvisibletabdeep 0 private iexplore:4116
    # Result Protocol Host URL Body Caching Content-Type Process Comments Custom
    66 200 HTTP WEBSITE.DOMAIN.COM /LIST2_WORKS/_layouts/15/inplview.aspx?Cmd=Ctx&List={62DF59D0-5426-49A7-8ED0-CB40DF3B7940}&View={D053E0B9-88D0-4540-B95A-DF15B8D339AD}&ViewCount=1&ID=4216&ListViewPageUrl=http://WEBSITE.DOMAIN.COM/LIST2_WORKS/Lists/servicerequests/ByAssignedTo.aspx 2,145 no-cache; Expires: -1 text/html; charset=utf-8 iexplore:3240
    # Result Protocol Host URL Body Caching Content-Type Process Comments Custom
    67 200 HTTP WEBSITE.DOMAIN.COM /LIST2_WORKS/_layouts/15/tenantappinfo.ashx?etag=0&lcid=1033 4,509 private text/html; charset=utf-8 iexplore:3240

  • After the new IOS for Ipad the words with friends app will not let me sign on (it says item I wish to buy is no longer available????) I uninstalled it but when I tried to install it still repeats (item you wish to buy...)  Help

    After downloading the new IOS for Ipad I cannot use Words for Friends from Ipad.  I uninstalled it but when I try to reinstall it pops up with "item you wish to buy is no longer available". 

    I suggest trying the update again after an hour or two.  Sometimes, the notice that an update is available comes an hour or two before the developers actually sends the revised app out to be downloaded.

  • Safari in iPad mini iOS 6.1 does not open my friends site but in my macpro it does?

    Hi.
    Safari in iOS 6.1 iPad mini does not open my friends site but in my MacPro it does? Why?
    It opens other sites alright. Maybe I missed setting things up right. It seems to do everything.
                                                                                                                    Walter

    The site is based on Flash, and there is no Flash Player for the iPad and almost certainly never will be, Adobe having dropped all development of Mobile Flash for any platform, so you cannot view that site natively on your iPad. You can try one of the app/service combinations for playing Flash such as Skyfire , Puffin, or iSwifter. One of those might work for you, though they all have limitations and do not work with all Flash-based sites and services
    Regards.

  • TS1702 I am unable to retrieve my Daily Mail Newspaper (iPad edition) in the Newsstand. I have already deleted and attempted to reinstate it but am now told this is no longer available, however I know this is not the case!

    I am unable to retrieve my Daily Mail Newspaper (iPad edition) after deleting the icon as the daily edition was not appearing. I finally found it only to be told this is no longer available however I have a subscription vaild till 2013 which I am currently unable to use ! Ay ideas as to how to download , retrieve this successfully. I have rebooted etc made all the usual attempts..please help ASAP

    I am unable to retrieve my Daily Mail Newspaper (iPad edition) after deleting the icon as the daily edition was not appearing. I finally found it only to be told this is no longer available however I have a subscription vaild till 2013 which I am currently unable to use ! Ay ideas as to how to download , retrieve this successfully. I have rebooted etc made all the usual attempts..please help ASAP

  • Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?

    Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?
    For example, say there's a SharePoint installation dedicated to particular (custom) SharePoint site. The users go to the site to carry out their tasks. There's no 'My Site' set up in this installation (and for other reasons I'm told it's not an option).
    Is it possible to show a web part here that shows the user's recent activity? The built-in web part for this fails with the error 'Invalid URI: The URI is empty', and the details of it appear to say it's looking for the user's My Site to find out what to show:
    SPMicrofeedContext.SetMySiteHostForContext failed System.UriFormatException: Invalid URI: The URI is empty.     at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)     at Microsoft.Office.Server.Microfeed.SPMicrofeedContext.SetMySiteHostForContext()
    So, while I'd be happy to write a web part (or app part) to display the information instead of using the default part, I'm not sure SharePoint is even storing the activity in a way I can access.
    Some pages like the following: http://sharepointmystery.com/2012/07/22/activity-feeds-in-sharepoint-2013/ make me think it won't be possible - it says: 'The major change from 2010 is that all the [activity] content is stored in the user’s personal site, not
    in a common database.'
    Are activity feeds dependent on 'My Sites' or is there a way to access the information when 'My Sites' is not present in the deployment? I can't find a definitive answer in Microsoft's documentation.

    To clarify, do you have the User Profile Service (including MySite Host) up and running on this environment? That's subtley different to the full MySite experience which is clearly not applicable...
    Interesting question - thanks for that. Until now I didn't realise there was a difference.
    The User Profile Service is up and running, but no MySite Host is set. (I don't believe MySite will be available anywhere here. I guess that means there's no valid MySite Host for me to use.)
    Many thanks,
        Geoff

  • Developing site to use external javascript files for server access. my ain.js file just displays and does not execute. Why?

    My ain.js file is meant to work on and access server files for tracking all visitors to the site I am developing.
    One way to access it, in my plan, is to use index.htm. when I open index.htm it displays correctly and presents a link to ain.js with a query line (?a=zzzzz--e2).
    The entire file is displayed; but not executed.
    Short of building my own server (prior to publishing what I am developing) how do you propose I test what I have written?
    As a retiree, I have limited funds (the purpose of developing a website is meant to coorect that).

    This forum is for Firefox user support, very few of our contributors are developers.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Project Server 2010 / Sharepoint 2010 Permissions not syncing to Project Site

    Project Permissions not syncing to Project Site
    Project Manager Group
    New project is created and published project server sends permissions to Sharepoint which puts users into the following groups:
    <dir><dir></dir></dir><dir><dir>
    Web Administrator (Microsoft Project Server)
    Project Managers (Microsoft Project Server)
    Team members (Microsoft Project Server)
    Readers (Microsoft Project Server)
    At this time the creator/owner, owner’s management, portfolio managers, and executives should all have Project Manager rights on the sharepoint site, and Admins will have Web Admin permissions.
    Issue #1: Only the Web Admin permissions and creator/owner permissions are being added to the Sharepoint permission groups
    Workaround #1: Going into the project site permissions and adding the
    Project Managers (Microsoft Project Server) group manually and the sync will keep the permissions
    Workaround #2: Going into the Server Settings, Manager Groups then removing or add all users to the No Permission Group, which forces an sync to all workspaces. Con: This workaround can only be down at night when users are not active since it will
    block the queue for at least an hour.
    Project Owner Transfer
    Previously created project has owner change, once saved and published project server sends permissions to update user’s permission to
    Project Managers (Microsoft Project Server) on Sharepoint project site.
    Issue #2: When Project owner is changed and project is published the owner is not getting permissions to the Sharepoint project site. However, if owner is also added to the team using the Build Team Feature the sync will give the owner Project
    Manager permissions on the Project Site.
    Workaround #1: Going into Server Settings, Project Sites, select project and Synchronize. Once this is done, the owner will have Project Manager Permissions without being added to the team.
    Users who have been added to this project in Project Server 2010, but not assigned to tasks. Users who have assignments in this project in Project Server 2010 and are contributors to the project workspace site,
    meaning that they can create and edit documents, issues, and risks. Users who have published this project or who have
    Save Project permission in Project Web App and are contributors to the project workspace site, meaning that they can create and edit documents, issues, and risks. Users who have
    Manage SharePoint Foundation permission in Project Web App and are contributors to the project workspace site, meaning that they can create and edit documents, issues, and risks.</dir></dir>

    By default when you create project build team add users in the task and publish the project plan then All the User which are available in the project plan including Project owner will go to below mentioned group in project site:
    1. creator/owner, owner’s management, portfolio managers, and executives should all have Project Manager will get access to Project Managers (Microsoft Project Server)
    2. User who are having team member access to PWA will get Team members (Microsoft Project Server) access if they are assigned to the project task.
    3. User who are having team member access to PWA will get Readers (Microsoft Project Server) access if they are not assigned to the project task.
    4. Only PWA Administrator will get the access to Web Administrator (Microsoft Project Server)
    Sharepoint permission you have to use when you want to give permission manually to users on project site  
    In the Project Site provisioning setting under Server setting if you have Check to automatically synchronize Project Web App users with Project Sites when they are created, when project managers publish projects, and when user permissions change in Project
    Server.
    Then all the user get access as per describe above and if you will give access manually to any of the user either in project server group or in Sharepoint group once you will publish the project next time all the manually given permission will go away.
    IF you want to give permission to user manually to sharepoint group or project server group then uncheck automatically synchronize Project Web App users with Project Sites when they are created, when project managers publish projects, and when user permissions
    change in Project Server.
    You check PWA site setting --> Site permission then member of Sharepoint group user who will have access to sharepoint group in PWA site setting site permission will have access to all the project site sharepoint group as Project site inherit permission
    from PWA root site.
    Both the issue which you have described is behavior of project site.
    For issue 2 when first time project owner create and publish the project and projectsite is getting created then porject owner name gets access  in the porject manager (project server group) nect time if you will change the owner and publish the project
    until he will not present in the project plan will not get the permission.
    If you want to give sharepoint permission to users then uncheck automatically synchronize Project Web App users with Project Sites when they are created, when project managers publish projects, and when user permissions change in Project Server and give
    the permission manually. 
    Project site in 2010 has some issue and not full filling customer need some time ,Ms has came up with 2013 which is having tight integration with project sites .
    Project workspace security groups are equal to the SharePoint Server 2010 security groups.
    Web Administrator equals Full Control
    Project Managers equals Design
    Team members equals Contribute
    Readers equals Read
    Users who have Manage
    SharePoint Foundation permission in Project Web App and are contributors to the project workspace site, meaning that they can
    create and edit documents, issues, and risks will get access to Web Administrator (Microsoft Project Server)
    http://technet.microsoft.com/en-us/library/cc197668(v=office.14).aspx
    kirtesh

  • SharePoint Workspace not syncing documents to SharePoint Site (2010)

    When I try to sync any type of document (i.e. .doc, .docx, .xlxs, etc) from SharePoint Workspace to SharePoint site it doesn't sync.  This is not permissions related if you look at my notes.  I get no error message as well.  Any help is appreciated.
    Notes:
    1. I am able to sync newly created folders from SharePoint Workspace to SharePoint site and vice versa
    2. I am able to sync documents from SharePoint Site to SharePoint Workspace
    Thank you,
    SSC

    Hi  ,
    A SharePoint workspace is automatically synchronized with the SharePoint site as follows:
    1.All updates you make in a SharePoint workspace are immediately sent to the SharePoint site when you save them.
    2.All content in the SharePoint workspace and the SharePoint site is automatically synchronized as frequently as possible, at minimum every 10 minutes, depending on network traffic.
    Reference:
    http://office.microsoft.com/en-in/sharepoint-workspace-help/synchronizing-content-in-a-sharepoint-workspace-HA010374732.aspx?CTT=5&origin=HA010370482
    Please perform the action in the blog for Resolving conflicts and errors in SharePoint Workspace:
    http://office.microsoft.com/en-in/sharepoint-workspace-help/resolving-conflicts-and-errors-in-sharepoint-workspace-HA010382158.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • Validate Sharepoint site url using javascript

    Hi All,
    I have the below requirement.
    User enters sharepoint site in a textbox and clicks on button.
    On button click, we have to validate the entered sharepoint site exist or not.
    All the code should be in client side. No server side code
    This should be achieved using javascript.
    So, if anyone has a solution for this, could you please help me in sharing the code for the requirement. 
    Thanks & Regards,
    Kishore
    Kishore

    Hi Kishore
    Please go through the links and below code..
    It'll help
    Validation of the entered SharePoint Site
    1. _spUserId (Variable)
    This variable gives the ID of the logged in user. For an anonymous user, this variable will be empty.
    var uid = _spUserId;
    You can test this variable in the address bar of your browser. Try
    javascript:alert(_spUserId);
    You will see an alert message with the ID of the logged in user.
    2. JSRequest (Object)
    Using this JSRequest object, we can get the querystring, pathname and filename. Before using any of these properties, you should call JSRequest.EnsureSetup();
    Ex: page url is http://www.xyz.com?qid=15
    To get a querystring value
    JSRequest.EnsureSetup();
    var q = JSRequest.QueryString["qid"]; // q = 15
    Similarly, you can use
    JSRequest.EnsureSetup();
    var f = JSRequest.FileName; // current page name
    var p = JSRequest.PathName; // server relative url
    3. GetUrlKeyValue(parameter, noDecode, url) (Method)
    GetUrlKeyValue() is a javascript function using which we can get the Query string parameter either from url in the browser or a url that we specify.
    parameter(string): query string parameter from the url.
    noDecode(bool): specifies whether the value has to be encoded or not. If false value is decoded, else returned as it is.(Optional)
    url(string): the url from which Query string values are to be retrieved.(Optional)
    Ex:
    alert(GetUrlKeyValue('a', false, 'www.xyz.com?a=te%20st'));
    The above statement will return the value ‘te st’. Here we are specifying our own url.
    alert(GetUrlKeyValue('a', false));
    The above statement will look for a query string variable ‘a’ in the browser url, and returns the decoded value.
    alert(GetUrlKeyValue('a'));
    The above statement will look for a query string variable ‘a’ in the browser url.
    4. _spPageContextInfo (Object)
    _spPageContextInfo object has several useful properties, some are
    a. webServerRelativeUrl (for current web)
    b. siteServerRelativeUrl (current site collection url)
    c. webLanguage (for localization)
    d. currentLanguage (for localization again)
    e. webUIVersion
    f. userId (current user id just like _spUserId)
    g. alertsEnabled (more for current page if it has any alerts on it)
    h. allowSilverlightPrompt (to have that prompt or not on the page)
    i. pageItemId
    j. pageListId (Guid)
    We can get the webServerRelativeUrl simply by saying
    var url = _spPageContextInfo.webServerRelativeUrl;
    All the remaining object properties can be used in the same way.
    5. escapeProperly(str) (Method)
    This function returns the URL encoded value of a given string.
    var s = escapeProperly("hello world!!"); //s = "hello%20world%21%21"
    6. unescapeProperly(str) (Method)
    This function decodes a URL encoded string.
    var s = unescapeProperly("hello%20world%21%21"); //s = "hello world!!"
    7. STSHtmlEncode(htmlString) (Method)
    This function encodes an html string
    var s = STSHtmlEncode("<p>sample text</p>");
    //s = "&lt;p&gt;sample text&lt;/p&gt;"
    8. TrimSpaces(str) (Method)
    This method trims out the leading and trailing white spaces of a string. It doesn’t remove spaces created by special characters such as ‘\n’, \t’
    var s = TrimSpaces(" Hello World!! "); //s = "Hello World!!"
    I intentionally put more spaces between ‘Hello’ and ‘World!!’ just to show that this method doesn’t remove any spaces between words.
    9. TrimWhiteSpaces(str) (Method)
    This method trims out the leading and trailing white spaces of a string. It also removes spaces created by special characters such as ‘\n’, \t’
    var s = TrimWhiteSpaces("\n\nHello World!!\t\t"); //s = "Hello World!!"
    10. LoginAsAnother(url, bUseSource)
    This method is used to login as different user.(as the name says)
    url(string): the url of the page to which the new user has to be sent after login.
    bUseSource(boolean): A boolean that indicates that the source will be added to the url, otherwise the source will be the window.location.href. This parameter is optional, default is false.
    <a href="#" onclick="javascript:LoginAsAnother('\u002f_layouts\u002fAccessDenied.aspx?loginasanotheruser=true', 0)">Log on as a different user</a>
    11. STSPageUrlValidation(url)
    This function validates a url if it starts with “http” or “/” or “:” ONLY. It returns the url value back if it is a valid url and an empty value if it is an invalid url. If the url is not valid, an alert message is displayed that says “Invalid page URL:”.
    var s = STSPageUrlValidation("praneethmoka.wordpress.com"); //s = praneethmoka.wordpress.com
    var s = STSPageUrlValidation(":praneethmoka.wordpress.com"); //s = "";
    var s = STSPageUrlValidation("w.wordpress.com"); //s = "w.wordpress.com";
    Now please don’t ask me what kind of a validation this is.
    STSPageUrlValidation(url) in turn calls a method PageUrlValidation(url) and here’s the code for PageUrlValidation method
    function PageUrlValidation(url)
    {ULSA13:;
    if((url.substr(0, 4) == "http") || (url.substr(0, 1) == "/") || (url.indexOf(":") == -1))
    return url;
    else
    var L_InvalidPageUrl_Text="Invalid page URL: ";
    alert(L_InvalidPageUrl_Text);
    return "";
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

Maybe you are looking for

  • Delete overlapping requests runs for 5+ hours ...This is too long

    We are on BW 3.5 and have a process chain that loads 3 years of data from a cube on the APO Server and AOP data from the BW server into a cube on the BW server.  Each load is in its own infopackage.  This loads happens every week.  We want to delete

  • How to add macbook pro with OSX 10.9.2 to Windows Server 2008 Domain

    I would like to add my late 2013 MBP running OSX 10.9.2 to my company's Windows Network Domain. What is the procedure to do so? Thanks for your help.

  • 509 error when saving files

    One of our users peridically gets a 509 error when she goes to save doc on the compnay folder. I did move her to an admin role, issue is still there. Any ideas?

  • Event management

    Hi BW experts, Anyone of u please let me know how to find where any EVENT is used in BW. An EVENT can be used to trigger process chain or start Job ... But is there anyway to know where one particuler event is used? Is there any Tcode for this? Answe

  • Dynamic Navigation link dyntotab_10fromMainWindow  not defined

    Hi, I am trying to logon to a business role and i get a message to define the navigation link dyntotab_10fromMainWindow . While debugging, i found out that the link is generted at runtime. Please help me how to define a target for the link. PFB the t