Get public URL for document files in sharepoint online

%3CLINGO-SUB%20id%3D%22lingo-sub-1860507%22%20slang%3D%22en-US%22%3EGet%20public%20URL%20for%20document%20files%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1860507%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20requirement%20is%20when%20any%20item%20created%20or%20modified%2C%20then%20I%20need%20to%20send%20all%20the%20listing%20details%20to%20another%20server.%20In%20my%20listing%20having%20different%20column%20and%20also%20attachment%20column.%20For%20attachment%20I%20need%20to%20send%20the%20public%20URL%20so%20anonymous%20users%20can%20able%20to%20access%20anywhere.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20one%20power%20automate%20flow%20for%20fetching%20the%20public%20URL%20of%20Attachment%20folder%20files.%20I%20created%20a%20power%20automate%20flow%20with%20%22Create%20Sharing%20Link%20for%20a%20file%20or%20folder%22.%20It%20was%20given%20me%20sharing%20the%20link%2C%20but%20when%20I%20paste%20to%20another%20browser%2C%20then%20its%20open%20on%20the%20HTML%20page.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20to%20display%20image%20or%20file%20(pdf%20etc..)%20into%20my%20mobile%20application%20so%20I%20need%20a%20public%20URL%20which%20open%20directly%20to%20mobile%20app.%20So%20above%20created%20sharing%20link%20I%20can%20not%20able%20to%20open%20in%20mobile%20app.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20is%20there%20any%20other%20way%20that%20I%20will%20get%20the%20public%20URL%20from%20power%20automate%2C%20and%20directly%20open%20in%20the%20browser%20without%20HTML%20page.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20check%20the%20attachment%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1860507%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20Automate%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

My requirement is when any item created or modified, then I need to send all the listing details to another server. In my listing having different column and also attachment column. For attachment I need to send the public URL so anonymous users can able to access anywhere.

 

I created one power automate flow for fetching the public URL of Attachment folder files. I created a power automate flow with "Create Sharing Link for a file or folder". It was given me sharing the link, but when I paste to another browser, then its open on the HTML page. 

 

I need to display image or file (pdf etc..) into my mobile application so I need a public URL which open directly to mobile app. So above created sharing link I can not able to open in mobile app.

 

So is there any other way that I will get the public URL from power automate, and directly open in the browser without HTML page. 

 

Please check the attachment

 

 

 

0 Replies