sharepoint api failed to get onQuickLaunch property when obtaining site lists

Xinyi Zhao 0 Reputation points
2024-03-20T08:37:51.89+00:00

Hi,

When we use the following sharepoint api endpoint to get on quick launch property, it doesn't work, the below exception reponse is returned. But when we select other properties, the api works and returns correctly~! Is there any problem with this field?

https://<site_domain>/sites/portal/standards/_api/Web/Lists?$select=OnQuickLaunch

<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">    <m:code>-2147467259, Microsoft.SharePoint.SPException</m:code>    <m:message xml:lang="he-IL">לא ניתן להשלים פעולה זו.נא נסה שוב.</m:message></m:error>
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,978 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 35,476 Reputation points Microsoft Vendor
    2024-03-21T02:11:41.35+00:00

    Hi @Xinyi Zhao,

    Per my test, I could use the api with full control of the site. Please check if you have enough permission to the site

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.