Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

When a file is created or modified in one SharePoint library, create a link to it from another SharePoint Library

(0) ShareShare
ReportReport
Posted on by 65

When a file in a specified SharePoint Library is updated or created, I want a link to that file to be created and added to another SharePoint Library. 

 

The file is created and the link is appeneded, but the link associated with the Name of the aspx file does not associate with the correct URL. Can anyone look at this and tell me what I'm doing wrong? 

Here is what I have so far: 

 

2019-10-09_10-16-53.png 

2019-10-09_10-17-06.png

 

 

Here are the results:

2019-10-09_10-34-15.png

 

 

When I click on the aspx link, it opens this page: 

 

2019-10-09_10-30-53.png

  • Verified answer
    jmathur Profile Picture
    65 on at
    Re: When a file is created or modified in one SharePoint library, create a link to it from another SharePoint Library

    I honestly have no idea. I actually resolved this for myself by adding a redirect script to the File Content section of the Create File action. So now when one clicks on the link, it opens the page with a redirect command pointing to a specified link. Works like a charm!!!

     

    See below: 

     

    2019-10-09_15-32-34.png

  • abm abm Profile Picture
    32,492 Most Valuable Professional on at
    Re: When a file is created or modified in one SharePoint library, create a link to it from another SharePoint Library

    Hi @jmathur 

     

    Do you have  a VirtualPath property under your aspx page? If it is then change the path to '/*'.

     

    Please see this link

     

    https://support.shortpoint.com/support/solutions/articles/1000268185-you-get-error-code-blocks-are-not-allowed-in-this-file-in-page-while-using-shortpoint-preloader-in

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492