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 / Custom connector - han...
Power Automate
Unanswered

Custom connector - handle multiple data types for single input field

(0) ShareShare
ReportReport
Posted on by 39

Hi all,

 

I have a custom connector that is doing a PUT request to update some metadata associated with a file in Box. I need the custom connector to handle the value field as both int & string, but I can only select one data type for the value field within the custom connector designer.

 

The API request details: 

 

URI: https://api.box.com/2.0/files/<file_id>/metadata/<enterprise_id>/<metadata_template_name>

Header: Accept application/json-patch+json

Body:

[
    {
        "op": "replace",
        "path": "/orderNumber",
        "value": 32
    },
    {
        "op": "replace",
        "path": "/orderDescription",
        "value": "Changed the description"
    }
]
 
If anyone has worked with this kind of scenario, please let me know how you handled it. I tried creating another action with a different data type for the value field but it gives me a swagger error since the URI is the same. Need help please, really stuck here 
😞
Categories:
I have the same question (0)

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