sonisick
Novice

Can you use a Relative Url in a Web Request?

I'm working in a SharePoint Environment with a strange Linux Frontend. I'd like to be able to call a layout page directly on the server that I'm on without going around to the front.

Does anyone have a sample of how to setup a relative path for a Web Request.

0 Kudos
Reply
5 Replies
andrewg
Scout

Re: Can you use a Relative Url in a Web Request?

That is strange to have a linux frontend. But Awesome too! In general, a layout page path would be http://mydomain.com/sites/dept/_layouts/settings.aspx.

So do you need a workflow variable that has the URL http://mydomain.com/sites/dept in it?

Can you use the Common context variable Site URL within the workflow?

Reply
sonisick
Novice

Re: Can you use a Relative Url in a Web Request?

Thanks but I count always count on the hostname.

Reply
andrewg
Scout

Re: Can you use a Relative Url in a Web Request?

Can you use the Common context variable Site URL within the workflow? That is relative to the site.

Reply
sonisick
Novice

Re: Can you use a Relative Url in a Web Request?

Don't think so.

thanks,

Stephan

0 Kudos
Reply
andrewg
Scout

Re: Can you use a Relative Url in a Web Request?

Ok, can you give us an example of what you are looking for in a path?

Reply