Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Encoded ABsolute Url Issue in SPD

  Asked By: Bobbi Allison         Date: Nov 13, 2008      Category: Sharepoint      Views: 1040
 

I am facing very strange problem in email which I formatted in
Sharepoint Designer workflow.

in my emailtext I used [%Encoded Absolute URL%]. So whenever I executed
workflow it shows http://portal/documents1/read me.txt. It should be
http://www.myportal.com" target="_blank" rel="nofollow">http://www.myportal.com/documents1/read" target="_blank" rel="nofollow">http://www.myportal.com" target="_blank" rel="nofollow">http://www.myportal.com/documents1/read me.txt.

MY AAM (ALternate Access Mapping) is defined as below
-----------
http://portal - Default - http://portal
http://own.myportal.com" target="_blank" rel="nofollow">http://own.myportal.com - Internet - http://own.myportal.com" target="_blank" rel="nofollow">http://own.myportal.com (Windows
Login)

http://www.myportal.com" target="_blank" rel="nofollow">http://www.myportal.com - Extranet - http://www.myportal.com" target="_blank" rel="nofollow">http://www.myportal.com (FBA Login)

--------

Tagged:            

 

7 Answers Found

 
Answer #1       Answered By: Miranda Scott          Answered On: Nov 13, 2008       

If the site is defined  as "http://portal", then you may be out of luck
there. If so, a workaround for your workflow  might be to use another
variable like Server Relative URL or Path, and append the domain name to the
beginning as part of a dynamic string.

 
Answer #2       Answered By: Deirdre Macias          Answered On: Nov 13, 2008       

You can change the default  URL. Basically, just swap the URLs in 'Edit Publich
URLs' and that should change the workflow  URL. At least, this worked pre-SP1.

 
Answer #3       Answered By: Kala Solomon          Answered On: Nov 13, 2008       

I tried to concatnatate with Path variable and Name variable. It is
working fine, but if any file name having spaces (i.e. Alternate
Mapping.docx), it took only http://myportal.com/documents1.Alternate
Mapping

Can we resolve this ?

 
Answer #4       Answered By: Madison Clark          Answered On: Nov 13, 2008       

Benjamin's solution would be preferable if you can change this in Central
Admin.

 
Answer #5       Answered By: Dhanraj Saxsena          Answered On: Nov 13, 2008       

I already tried, but no luck. Any other advise.

 
Answer #6       Answered By: Kacie Calhoun          Answered On: Nov 13, 2008       

I had the same problem  and did the following to get around it.

I created a list that contain parameters I wanted to use for all of my
SP workflows - Parameter Name and Parameter Value are the columns I
used. For instance, I created a list item with the Parameter Name:
SiteURL and Parameter Value: http://mysite/sites/sitename. I set a
variable in my SP workflow  to the value of my parameter and then used
the Build Dynamic String to create the entire url.

 
Answer #7       Answered By: Duane Walton          Answered On: Nov 13, 2008       

But it will if any document name contain space in their file name. For ex if
file name is "change password.txt", it will only add "change" in your url  like
http://portal/spdocs/change . It should be
http://portal/spdocs/change%20password.txt or http://portal/spdocs/change
password.txt.

 
Didn't find what you were looking for? Find more on Encoded ABsolute Url Issue in SPD Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].