Skip to main content
Nintex Community Menu Bar

Get Root Site Collection URL

  • July 27, 2015
  • 3 replies
  • 49 views

Forum|alt.badge.img+2

Hi,

How can I get the URL from the Root Site Collection? Under the Common Tab I see only Web URL. This URL includes also the subsite.

best regards

3 replies

Forum|alt.badge.img+3
  • Nintex Partner
  • December 15, 2015

Hi Domenico

use a regular expression :

https:.*/sites/[^/]*

All between "https:" an "sites/" plus all non "/" characters

Regards


Forum|alt.badge.img+17
  • Nintex Partner
  • December 29, 2015

Domenico, Did this work for you?


Forum|alt.badge.img+2
  • August 25, 2017

If you also also own the Workflow product you can use a Workflow Constant which you can propagate to your various environments. ex. ProcessPortalUrl:https://bpm-t.customer.local/sites/bpmhome

The constant can then be used in your forms.