cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rampprakash
Helper I
Helper I

PowerApps Custom Connector API

Hi Team,

 

Can any one guide me how to pass parameter to Custom Connector

 

JSON Format:

{

"Invoice #":"234",

"Invoice Date":"12/12/20"

"Details":[

{

"Profit":"100"

}

]

}

 

I added Custom Connector Canvas in DataSource 

 

from Canvas i can able to Passs ConnectorName.sendRequest(InvoiceNumber: Text1.Text, InvoiceDate: Date)

 

Am not sure how to pass parameter to DETAILS(Table) in Custom Connector, Can you please guide me.

 

}

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @rampprakash ,

Do you want to pass a value for the "Details" argument in your Custom Connector action?

 

Regarding the JSON Format that you mentioned, I think you need to pass a Table value to the "Details" argument in your custom connector.

 

I have made a test on my side, please consider modify your formula as below:

ConnectorName.sendRequest(
                          Text1.Text, 
                          Date,
                          Table({Profit: "100"}, {Profit: "150"})   // Type formula here
)

 

Please try above solution, then check if the issue is solved.

 

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.

View solution in original post

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @rampprakash ,

Do you want to pass a value for the "Details" argument in your Custom Connector action?

 

Regarding the JSON Format that you mentioned, I think you need to pass a Table value to the "Details" argument in your custom connector.

 

I have made a test on my side, please consider modify your formula as below:

ConnectorName.sendRequest(
                          Text1.Text, 
                          Date,
                          Table({Profit: "100"}, {Profit: "150"})   // Type formula here
)

 

Please try above solution, then check if the issue is solved.

 

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.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,166)