cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbenson
New Member

Creating a SharePoint URL item

Hi,

 

I am attempting to Move documents between Document Libraries on SharePoint Online.  The available tutorials indicate this can be handled with the Copy/Delete actions.  As part of the process I would like to create a SharePoint Link Item on the "Source" Library pointing to the new Document.  I've been atempting to use the Create File and specifing .url extension in the File Name but cannot seem to setup the File Content in a way that resolves.  I've tried putting the Path variable from the Copy Action as well as just feeding it a static url (www.google.com) as a tests and while the url file is created it does not function.

 

http://i65.tinypic.com/x55u1c.png

 

Cheers,

-JB

1 REPLY 1

Hi @jbenson,

 

You will need to use a get file properties.

Then initialize a variable with the following expression
 
replace(substring(body('Get_file_properties')?['{Identifier}'],add(indexOf(body('Get_file_properties')?['{Identifier}'],'%252f'),5),sub(length(body('Get_file_properties')?['{Identifier}']),add(indexOf(body('Get_file_properties')?['{Identifier}'],'%252f'),5))),'%2b','_')
The above replaces all the junk in the Identifier.
 

You will need to use Get file content using path

 

Then finally use a create file

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (63,626)