web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to join a Share...
Power Automate
Unanswered

Unable to join a SharePoint choice which allow multiple selection:- "@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference","Id":-1,"Value":"Select.."}

(0) ShareShare
ReportReport
Posted on by 1,811 Super User 2024 Season 1

I have a SharePoint choice field which allow multiple selection, as follow:-

 

johnjohnPter_0-1712020798399.png

 

 

now i want to show all the selected options seperated by ';', i tried this formula:-

 

join(items('Apply_to_each_Charge')?['SurfaceTravelDetails'],';')

 

but i got this result:-

 

"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference","Id":-1,"Value":"Select.."}

 

any idea?

 

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    on at

    Hi @johnjohnPter ,

    Please try this expression:

     

    join(join(xpath(xml(json(concat('{"body":{"value":', items('Apply_to_each_Charge')?['SurfaceTravelDetails'] , '}}'))), '/body/value/Value/text()'),','),';')

     

    Best Regards,

    Sunshine Gu

  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at

    @v-yetonggu-msft i got this error on the formula you provided:-

     

    Unable to process template language expressions in action 'Append_to_string_variable_5' inputs at line '0' and column '0': 'The template language function 'join' expects its first parameter to be an array. The provided value is of type 'String'. Please see https://aka.ms/logicexpressions#join for usage details.'.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard