How to Get List Url of current list

Document created by fhunth Champion on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

This is a simple regular expression so as to get List URL of the current item

 

I used:

  •      A variable named myStringListURL

 

 

 

  • The action named "Regular Expression"

 

The magic is on the pattern of the regular expression that deletes all characters after "/DispForm.aspx"

The {Common:ItemUrl} , used on the Input text parameter, gets a string like the following:

     http://server/Site/Lists/yourList/DispForm.aspx?ID=xxx

So with the pattern "\/DispForm.aspx.*$" and the Operation "Replace text" in blank, we will get the result "http://server/Site/Lists/yourList stored on the variable "myStringURL".

 

 

 

This document was generated from the following discussion: Get List Url of current list/library

1 person found this helpful

Attachments

    Outcomes