cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Unbihexium
Helper III
Helper III

display a specific document link (from Sharepoint Doc. Library) depends on which item is selected in the app

Hi all

 

I try to display a specific document link depends on which item is selected.

 

i'm not good at explaining so i attached few screen shot.

 

These dokuments are generateted from a MS Flow after submiting the form from my app.
The name of the document is a combination of two variables which are used in my app. (ms flow screen shot)

 

I use a "FormViewer" but I'm not sure if this is the right thing to display the clickable link
probably I have to filter it somehow but I have no idee how.

is it possible?
Has anybody a hint?


Thank in advance
regards

 

1 ACCEPTED SOLUTION

Accepted Solutions

unfortunately I could not find any solution for this but I've managed it to add the related document to the sharepoint list as an attachment via MS Flow.
With the regular form viewer it show now the specific document.

View solution in original post

3 REPLIES 3
v-yutliu-msft
Community Support
Community Support

Hi @Unbihexium ,

Do you want to display the selected doc's file link?

I've made a similar test:

1)insert a gallery named Gallery1

2)insert a label

set the label's Text:

Gallery1.Selected.'Link to item'

 The field named 'Link to item' is used to record the doc's link.

 

11223.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Phoebe Liu

 

Thank you very much for your reply

I did it as you said, and I get a link displayed but unfortunately its not that one I'm looking for. Its just the link to the properties of the recorded element. 
The generated documents are not mapped to the recorded elements in the sharepoint list, they be just saved in the document library by a MS Flow. 

If I could somehow say and filter it like:  (ListGallery2.Selected = 'Auftrag ID' & " _ " & 'Bezeichnung'.docx from 'EFNA Dokumente').


"Auftrag ID" and 'Bezeichnung' are the visible Name of the recorded element in "ListGallery2" for example:
2019005               OneDrive PDF
the generated document name is "Auftrag ID"_"Bezeichnung".docx so I hoped to filter that somehow to display the document link


regards

 

unfortunately I could not find any solution for this but I've managed it to add the related document to the sharepoint list as an attachment via MS Flow.
With the regular form viewer it show now the specific document.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,160)