web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When a file is created...
Power Automate
Unanswered

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

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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

     

  • Verified answer
    jmathur Profile Picture
    65 on at

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard