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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to use OData.Community.Display.V1.FormattedValue triggerOutputs method in Compose Action

(5) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi Team,
 
I am trying to use an OData.Community.Display.V1.FormattedValue of a field in the compose section to create a mail for the team, like this, but it's not showing any value in the mail:

 
I have tried to use the filter query also, but I am getting errors as it wants the input to be an array. I am using an OpenApiConnection to get the data and msp_plugintype@OData.Community.Display.V1.FormattedValue is present at the body of the triggerOutputs. 

 

  Please guide me how can I use the OData.Community.Display.V1.FormattedValue in the compose field to generate the mail successfully.
 
I have the same question (1)
  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    Hi,

     

    Thanks for sharing the details. When using OData.Community.Display.V1.FormattedValue in a Power Automate flow to format values for email output, it's important to ensure that the syntax and data structure are correctly handled.

     

    Here are a few suggestions:

     

    • Check the data type: The FormattedValue is typically a string, but if you're using it in a filter or condition that expects an array, you’ll need to wrap it appropriately or adjust the logic to compare strings.

    • Use expressions carefully: In your equals() condition, make sure the path to the value is correct. You might try:
      equals(triggerOutputs()?['body']?['msp_pluginrtype@OData.Community.Display.V1.FormattedValue'], 'ExpectedValue')
      

      or use outputs('Get_Plugin_Record') if referencing a previous step.

    • Debug with Compose: Add a Compose action to output the full body of the trigger or the plugin record step. This will help confirm the exact structure and whether the formatted value is present.

    • Ensure the field is populated: Sometimes the formatted value won’t appear if the original field is null or not properly retrieved.


    •  
     

    Please verify if this response was helpful.

     

    Thanks and best regards,\
    Daniele\
    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

  • Suggested answer
    Syed Aqib Raza Profile Picture
    105 on at

    The main issue here is that OData.Community.Display.V1.FormattedValue is a property of the Dataverse record, not an array. Therefore, you don't need Filter array just to get the formatted value.

    Since your value is coming directly from the trigger, you can reference it directly in Compose:

     
    triggerOutputs()?['body/msp_plugintype@OData.Community.Display.V1.FormattedValue']
     

    Or, if you are specifically using the Get Plugin Record action shown in your screenshot:

     
    outputs('Get_Plugin_Record')?['body/msp_plugintype@OData.Community.Display.V1.FormattedValue']
     

    The important part is to use the correct action that actually contains the Dataverse record. Similar examples use triggerOutputs() for trigger data and outputs('Get_a_row_by_ID') for a Dataverse Get Row action.

    You don't need Filter array unless you are working with multiple records. Filter array expects an array as its input, which is why you're getting the error when passing the individual formatted-value property.

    I would also suggest adding a temporary Compose immediately after the Dataverse action and using:

     
    outputs('Get_Plugin_Record')?['body/msp_plugintype@OData.Community.Display.V1.FormattedValue']
     

    Run the flow and check the Compose output. If it returns something like:

     
    Custom API
     

    then you can directly insert that Compose output into your email.

    If you're building the email body with HTML, you can also use:

     
    <p><strong>Plugin Type:</strong> @{outputs('Get_Plugin_Record')?['body/msp_plugintype@OData.Community.Display.V1.FormattedValue']}</p>
     

    One more thing: make sure msp_plugintype is actually populated. The FormattedValue annotation won't give you a useful value if the underlying field is null.

    So in your case, I'd remove the Filter array completely and reference the formatted-value property directly from the action/trigger that returned the Dataverse record. This should solve the issue.

     
     
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 82 Super User 2026 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 44 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans