cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
whats_my_name
Level: Powered On

Request Trigger to Create Item (SharePoint) - How to pass url?

I'm trying to use a flow using a request trigger to add an item to a SharePoint List

The list has:

- Title (default field, string)

- StartDate (datetime)

- Link (Hyperlink)

 

I can't work out how to set up the json schema such that I can pick the url field in the Dynamic Content. 

 

My schema looks like this.

For the link field, I need to pass the url and display values -- unsure how the schema handles this...

{
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Test Schema",
    "required": [
        "Title",
        "StartDate",
        "Link"
    ],
    "properties": {
        "Title": {
            "type": "string"
        },
        "StartDate": {
            "type": "string"
        },
        "Link": {
            "type": "string"
        }
    }
}
1 REPLY 1
Community Support Team
Community Support Team

Re: Request Trigger to Create Item (SharePoint) - How to pass url?

Hi @whats_my_name,

 

Here is a doc on how to call, trigger, or nest workflows with HTTP endpoints in logic apps, you could take it for a reference to try it on your scenario:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-http-endpoint#accept-parameters-through...

Besides, here is a doc on how to create a custom connector form OpenAPI definition, hope it could be helpful:

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,490)