Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

Custom Connect: Default Response

(0) ShareShare
ReportReport
Posted on by 278

I have built a custom connector to the Cascade CMS REST API.  I have used the sample data provided from the responses I have pulled from Postman.  When I attempt to run the flow, the connector response is given the default value of 

 

 

 

 

 

{
 "statusCode":200,"headers":
 {
 "Transfer-Encoding":"chunked",
 "Vary":"Accept-Encoding",
 "Request-Context":"appId=cid-v1:0c37065f-4d7c-47cf-af06-96cd9a75949d",
 "x-ms-function-status":"OK",
 "Date":"Wed, 22 Dec 2021 17:54:49 GMT",
 "Content-Type":"application/json; charset=utf-8",
 "Content-Length":"26"
 },
 "body": 
 {
 "message":"Hello World"
 }
}

 

 

 

 

 

Instead of the correct response of (example create/POST response)

 

 

http://localhost:8080/api/v1/create?u=hill&p=hill
{
 'asset': {
 'page': {
 'name': 'test',
 'parentFolderPath': '/',
 'siteName': 'www.example.com',
 'contentTypeId': 'b9bc37270a00016b00899e533ba18fe5',
 'xhtml': '<div>Content</div>',
 'metadata': {
 'title': 'Page title'
 }
 }
 } 
}

 

 

 

  • bmbyars Profile Picture
    bmbyars 6 on at
    Re: Custom Connect: Default Response

    I am looking into setting up flow that allows me to make changes to a CMS page. Did you get this to work? Is there any documentation on how to go about setting up flow to work with Cascade CMS? Any help is much appreciated. 

  • duncant Profile Picture
    duncant 278 on at
    Re: Custom Connect: Default Response

    For some reason, the Code (Preview) is displaying the default response after the code is disabled.

     

  • Re: Custom Connect: Default Response

    Red2_0-1641590787058.png

    If you edit the connector you should be able to edit the swagger to produce a text file.

     

  • duncant Profile Picture
    duncant 278 on at
    Re: Custom Connect: Default Response

    Unfortunately now.  Cascade CMS seems to use a combination of REST and SOAP API.  If you happen to have some information on converting the SOAP SML Documentation to a readable format to create the custom connector, I would be grateful.  

  • Re: Custom Connect: Default Response

    Can you provide the YAML definition of the connector 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,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics