cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ianf1969
Level: Powered On

Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Hi, can someone please respond! I am in a loop of despair on something that is essentially working, but is not working!

 

  1. I have a single SP table that contains "row by row" data, where new items are created and added
  2. There is another list which contains 80 rows, which contains lookup values
  3. There are 5 lookups "from" (1) looking at (2) which works perfectly and cascades the drop down as required.
  4. When adding the {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" code,  I can see RESULT

i.e. Id:Dropdown1.Selected.ID,
Value:Dropdown1.Selected.Division}

 

i.e where I want to type "ID" and "Division", I only get the option to type Result. 

 

Why is this? I have only ever got one of these connectors to work once, where it "wrote" the data back from Table 2 to Table 1.

 

I keep getting error messages about expected text values etc? Why? 

9 REPLIES 9
Community Support Team
Community Support Team

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Hi @ianf1969 ,

Could you please share a screenshot about this issue?

Could you please show more details about the formula you typed within the Items property of the Dropdown1?

Further, do you want to auto-populate another Dropdown box with the selected value from the Dropdown1?

 

Based on the issue that you mentioned, I suppose that you have typed a Distinct(...) formula within the Items property of the Dropdown1 box, is it true?

 

Please check if you have typed a Distinct(...) formula within the Items property of the Dropdown1 box, if true, when you reference value from the Dropdown1 box, you could only get the Result option rather than ID or Division. As an alternative solution, please consider set the Items property of the Dropdown1 box to following:

ShowColumns('Your Second List', "ID", "Division")         /* <-- 'Your Second List' represents the SP List mentioned in (2) */

then when you reference the selected value from the Dropdown1 box, you could get the ID and Division option.

 

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ianf1969
Level: Powered On

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

The "receiving" fields in SharePoint are set up as "single text fields".

 

  • 1st drop down = Distinct(FleetList,Division)
  • 2nd one = Distinct(Filter(FleetList, Division = Dropdown1.Selected.Result),Depot)
  • 3rd one = Distinct(Filter(FleetList, Depot = Dropdown2.Selected.Result),ClassOrRSPrj)
  • 4th one = Has been working, but waiting to fix 1/2/3 write back

I will look at your fix - Its crazy that its so complex to simply get a result from a drop down, back to the list, after its been bound! All of the above works, just not the write back to the main file. 

 

I will try your solution above -

ianf1969
Level: Powered On

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Still not working, as well as surely, by introducing ID at row level, we will now see the ID many times (?) and not the distinct value?


Back to basics;

 

  1. Goal - to pass a text result from a filtered cascading list
  2. In "receiving file" / row of main SP list, receive selected values (4) into 4 columns on one row.

Thats all I am trying to do....The cascades work perfectly, please advise.

 

MoreFailures.JPGShow Columns.JPG

ianf1969
Level: Powered On

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

@v-xida-msft 

 

In the attached, the file is finding a value, but its "out" by one level.....and its saying "Expected Text Value" when I hover.....(thats as its on DropDown1, but even selecting DropDown2 I still dont get the result? It seems to be trying to pull the result over, but just not doing it?

 

AlmostWorking.JPG

ianf1969
Level: Powered On

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Here is some the 80 rows, all working ok....All I want is the "text" result to go to SharePoint !

 

80RowDistinct.JPG

Community Support Team
Community Support Team

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Hi @ianf1969 ,

Do you want to save the selected value within the Dropdown box back to the Text type column in your SP List?

 

If you just want to save the selected value within the Dropdown box back to the Text type column in your SP List, I think there is something wrong with your formula.

Please set the Update property of the Data card which contains the Dropdown box to followig:

Dropdown1.Selected.Result

If you set the Items property of the Dropdown box to following formula:

ShowColumns(FleetList, "Title", "ID")

Please set the Update property of the Data card which contains the Dropdown box to followig:

Dropdown1.Selected.Title

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ianf1969
Level: Powered On

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Yes ALL I want to do is have a cascading list from one list and return a drilled/cascaded value to a "main receiving list".

 

Hi, I will try your suggestion, however, I have noticed the following on my current fix.

 

As is, the data is being sent from the dropdown to the main SP List, I note that when you look at at the edit form, the edit from shows the drop down values ONLY and not the last result that was updated to it. So if a user looks at the edit form, the values that appear are NOT whats displayed in the main receiving list.

 

I will what you suggest to see if that corrects this unwanted behaviour.

 

  • I only got the Azure connector to work once
  • Is the Azure connector the preferred route OR not, is this simply an incorrect route that I followed from other threads?
  • OR does the azure connector provide the dynamic connection between the main list and the look up list?
  • I do not see any reason why anyone would have a look up value NOT written to the main list, surely thats the point of it?
  • Am happy to stand corrected, so that others dont have to go through the wasted time I have had, on what afterall seems to be a quick and effective activity that looks to work well (if I can get the final connection working).

Thanks

Community Support Team
Community Support Team

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

Hi @ianf1969 ,

After you submit a new data back to your "main receiving list", you need to add the following formula to refresh your "main receiving list" data source in your app:

Refresh("main receiving list")

 

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ianf1969
Level: Powered On

Re: Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

HI - after a lot of research and a chat to a colleague, it turns that the Azure connector formula is "perhaps" a false lead? i.e. I have been able to get 2 remote looks up, updating to a "receiving list" with single text fields, simply by using the update in the datacard to match the selected.dropdown.result. This seems to be sending all related/cascaded records down as expected etc.

 

When or why should the Azure connector be used? I have seen lots of things referrring to it, however, I dont believe its needed? 

 

Can you advise? thanks

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 191 members 5,463 guests
Please welcome our newest community members: