Hello
I am creating a Checklist style App based on a sharepoint list.
One of the colums in the list is using data (AssetID) from an Asset list. What I want to do is bring some information contained in the Asset List over to the Checklist based on the AssetID selected.
Is there a way to do this without having to first select the asset then submitt the new form (In the list when viewed in sharepoint, I can see the extra information but only after the form is saved)?
I can get the information to display in the App, but that is using the associated lookup fields from the Checlist and I have to save the form first then go back into it.
Sorry for my double dutch....any pointers would be appreciated.
Solved! Go to Solution.
You need to use a Patch function triggered on the OnChange property of the control. I think you're saying that you are using a lookup field. I have written some blogs about doing this over the last week. My site is linked below.
If that doesnt help drop me a message and I can have a closer look for you
Andy
Read my new blog at -
www.powerappssolution.com
You need to use a Patch function triggered on the OnChange property of the control. I think you're saying that you are using a lookup field. I have written some blogs about doing this over the last week. My site is linked below.
If that doesnt help drop me a message and I can have a closer look for you
Andy
Read my new blog at -
www.powerappssolution.com
Thankyou for the info. I think it will help....just need to find the time.
On a sid note, the List that has the lookup in sharepoint has a couple of fields associated with the original lookup.
Example:
Lookup Field: AssetID (taken from Asset List)
Asscoiated fields:
Asset:AssetModel
Asset:Asset
The last two appear in the colums list as a lookup but are based on what Asset is selected.
Would I need to remove these two colums from the List Im building as they would be updated by using the Patch command?
I think you can just ignore them, I'd have to try it to be sure.
The best answer, is that if you are only accessing the data from PowerApps, then do all your list linking etc through the app logic, not in SharePoint. I'll probably write a blog on this soon as I thinks its quite a key point to learn
Andy
Read my new blog at -
www.powerappssolution.com
I used Global Variables to select the information from the first list. Thanks for your help.
Hi Markos did you ever figure this out? I have a similar situation where ID is pulling in First Name and Last Name from another sharepoint list into the list I am updating. I am trying to update the ID on an edit form but can't figure out how to pull the First Name and Last Name when I change the ID number.
User | Count |
---|---|
196 | |
126 | |
87 | |
49 | |
42 |
User | Count |
---|---|
284 | |
160 | |
138 | |
75 | |
72 |