0

In a previous post I was looking for the formatting required to take a user back to a custom view of a list (instead of the default view for that list).

Jinxed was nice enough to provide me with a template:

"http://web.com/lists/listname/editform.aspx?Source=http://web.com/list/listname/viewname.aspx"

I have finally figured out where to add this reformatted url using sharepoint designer but the problem I have now is that the link refers to a specific item in order to populate the display or edit form with the proper information. Currently the Url looks like this:

"http://web.com/Lists/listname/EditFormCx.aspx?ID={$thisNode/@ID}"

How do I modify this url to reference the {$thisnode/@ID} component but ALSO include the "?Source=web.com/list/lisname/viewname.aspx" Jinxed referenced?

Thanks as always!

1

Did you tried this,

http://web.com/Lists/listname/EditFormCx.aspx?ID={$thisNode/@ID}&Source=web.com/list/lisname/viewname.aspx
  • I tried formatting the URL as you stated but SharePoint designer throws an error stating that a semicolon character was expected...and the form doesn't load after I publish the change. – Logan2847 Dec 5 '14 at 0:56
  • Try using & in place of & – Amit Tyagi Dec 5 '14 at 1:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.