Hi
Is it possible to be be able to launch a an attachment without being in a form ?
So rather than ThisItem.{Attachments}.AbosluteUrl cannot I :-
Set(ListId,Lookup(<listname>, title=varGUID));
Launch(ListId.{Attachments}.AbsoluteUrl)
That way I can check to see if there is an attachment without the hassle of having a form.
Having 3 or 4 of these forms on the screen is a nightmare getting them lined up and not overlapping each other.
Better to get the ListIDs of the forms and then having a OnSelect event of a text or html box that has the Launch command on it.
Also would not be getting the dreaded "Getting Your Data" message if did not use the form and there was not an attachment.
Thanks
Nigel
Solved! Go to Solution.
Hi @NigelP ,
Could you tell me:
Do you want to use a combo box control to display all attachments?
When using combo box control to select an attachment, do you want to press the button to open it?
If my assumptions are correct, please try the formula below:
1\ Add a button control and set its onselect property to:
ClearCollect(Test,0);ClearCollect(Test2,Filter(Ungroup(ForAll(Sequence(CountRows(your list name)),Collect(Test,Last(Test).Value+1);Last(FirstN(your list name,Last(Test).Value)).Attachments),"Value"),!IsBlank(Id)))
2\ Add a combo box control 'ComboBox1' and set its Items property to:
Test2
3\ Add a button control and set its onselect property to:
Launch(ComboBox1.Selected.AbsoluteUri)
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
Hi @NigelP ,
Could you tell me:
Do you want to use a combo box control to display all attachments?
When using combo box control to select an attachment, do you want to press the button to open it?
If my assumptions are correct, please try the formula below:
1\ Add a button control and set its onselect property to:
ClearCollect(Test,0);ClearCollect(Test2,Filter(Ungroup(ForAll(Sequence(CountRows(your list name)),Collect(Test,Last(Test).Value+1);Last(FirstN(your list name,Last(Test).Value)).Attachments),"Value"),!IsBlank(Id)))
2\ Add a combo box control 'ComboBox1' and set its Items property to:
Test2
3\ Add a button control and set its onselect property to:
Launch(ComboBox1.Selected.AbsoluteUri)
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
User | Count |
---|---|
252 | |
101 | |
94 | |
47 | |
38 |