Hi!
I'm trying to get the URL from where I clicked "New Element" on a custom Sharepoint Form.
Is it possible?
Screenshot shows the formula I'm trying.
Cheers!
When you are in the process of creating, there is no record created yet, so no {FullPath} either.
what you could do is add a sort of ‘autosave’ function by adding an invisible timer and adding a SubmitForm and a Refresh to the OnTimerEnd maybe?
Please LIKE the reply and ACCEPT it as the solution if the answer is what you were looking for.
(to help me grow in community rank and help others find the solution)
Your solution works when editing one element, but not when creating the new element, which is my objective.
Is possible, to do the same approach, but in creation?
Thnx in advance!
Hi!
This is exactly what I need, but, no info is shown, when opening the form.
Attatched there is The same screenshots you provided, but in mi form. Can you see something wrong?
Cheers!
Ah, okay, I'm starting to understand what you are aiming at. I've sort of built a copy of your App, if I understand correctly. As you've used PowerApps to change your form, your App will show SharePointIntegration at the highest level, correct?
If so, have you tried adding the field 'Folder Path' to your form?
Please like the reply AND accept it as the solution if the answer is what you were looking for.
(to help me grow in community rank AND help others find the solution)
Hi!
Thanx for your response, I think I explained myself poorly.
My problem is that I have a Sharepoint list with folders.
When I create Folders I only need to give it the name of it and it created the ID autmatically.
I created a PowerApps Custom Form to create elements in that same list, which, when clicking inside one of those folders, creates the element with the ID for the new element in the folder I'm in.
One of the columns in the list depends on which folder you have created the element (receptor column).
I need to, when clicking new element, get the ID param of URL, so I can auto fill the first column of the element.
Is it possible?
Thnx in advance.
Cheers!
You could use a value and save a URL to it in the OnSelect of your controls: Set(varClickedURL,"www.someurl.com")
But a separate control does not have a specific URL I guess.
For what purpose would you want to have/show this URL?
Please like the reply and/or accept it as the solution if the answer is what you were looking for.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional