cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
whats_my_name
Level: Power Up

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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 78 members 4,563 guests
Please welcome our newest community members: