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

How to create a Sharepoint Tile (promoted link) with Http request?

Hi everyone, 

 

Does someone know how I can add new tile (promoted link)? I have been trying the same techniques as when I have created list items or library content, but this doesn't seem to work. And it is confusing me because it doesn't show up as library or a list. 

 

Just to specify, I don't want to create the whole "app" just a tile within of these "apps/lists".

 

If anyone has a suggestion, that would be greatly appreciated. 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @ToFj,

 

This should be possible with the Send an HTTP request to SharePoint action.

 

1. First collect the ListItemEntityTypeFullName value of your SharePoint Tile List. Replace/set the ListName variable by the name of your current Tiles App list name.

getlistentitytypefullname.png

2. Use the following Body to create a new Tile

 

{
	"__metadata": {
    "type": "@{outputs('Send_an_HTTP_request_to_SharePoint')?['body/ListItemEntityTypeFullName']}"
  },
  "Title": "Testing Promoted Links",
  "LinkLocation": {
        "Description": "Microsoft",
        "Url": "https://www.microsoft.com"
      }
}

 

 

 createpromotedlink.png

 

More information about working with lists via the REST API can be found over here btw: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-re...

View solution in original post

2 REPLIES 2
Super User II
Super User II

Hi @ToFj,

 

This should be possible with the Send an HTTP request to SharePoint action.

 

1. First collect the ListItemEntityTypeFullName value of your SharePoint Tile List. Replace/set the ListName variable by the name of your current Tiles App list name.

getlistentitytypefullname.png

2. Use the following Body to create a new Tile

 

{
	"__metadata": {
    "type": "@{outputs('Send_an_HTTP_request_to_SharePoint')?['body/ListItemEntityTypeFullName']}"
  },
  "Title": "Testing Promoted Links",
  "LinkLocation": {
        "Description": "Microsoft",
        "Url": "https://www.microsoft.com"
      }
}

 

 

 createpromotedlink.png

 

More information about working with lists via the REST API can be found over here btw: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-re...

View solution in original post

Helper II
Helper II

Thank you very much, @Expiscornovus. Works like a charm. 

 

I will be sure to check that link out as well. Looks like I can pick up some stuff there regarding REST API. 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (25,321)