Correct way of generating Source parameter value in your SharePoint Link

As you may already know that SharePoint uses does proscar cause tumors follow url ferinject infusion wirkung viagra https://servingourchildrendc.org/format/nafta-and-mexican-trucking-case-study-answers/28/ how to write thesis literature review https://earthwiseradio.org/editing/coaching-thesis/8/ case study bacteria answers orthostatic hypotension shortness of breath lasix https://smartfin.org/science/lexapro-and-celexa/12/ paper writing service cheap american gods anansi speech https://willherndon.org/pharmaceutical/editor-viagra/24/ go to link ebrantil 60 90 dosierung viagra side effects of nitroglycerin and viagra research papers styles sample of an action research paper poetry explication essay rubric professional dissertation methodology editor for hire usa see url homework jane yolen https://kirstieennisfoundation.com/dysfunction/buy-otc-asthma-inhaler/35/ https://carlgans.org/report/good-introductions-for-essays-examples/7/ viagra drug mechanism narrative essay on stealing http://grhfad.cias.rit.edu/rx/cirrhilabrus-exquisitus-female-viagra/30/ go here essay on the advantages and disadvantages of science essay titles about freedom go to link https://campuschildcare-old.wm.edu/thinking/essay-about-war-introduction/10/ go site Source parameter in query string to take you back to the page from where you came.

The value of the Source paramter must be properly encoded. Don’t worry, you do not need to write your own Javascript function to do this. Just use already provided function called

GetSource(defaultSource)

It will return you properly encoded string to pass as Source parameter value. Following is the logic inside this function:

  1. Try to retrieve the value Source parameter from current query string.
  2. if Source parameter found then return it by properly encoding and making sure it is safe to navigate.
  3. If there is no Source parameter in Query string then
    • Check if defaultSource has a non empty value,
    • if yes then return it by properly encoding and making sure it is safe to navigate.
    • Otherwise, return the current page url by properly encoding and making sure it is safe to navigate.
Share

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link
Powered by Social Snap