Skip to main content

Notifications

Power Automate - Using Connectors
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 
😞

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics