SharePoint Document Approve and Reject Buttons 👎👍

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • In this informative video, we dive into the world of SharePoint and explore an innovative way to add approve and reject buttons to your document libraries. But hold on! These are not your ordinary Power Automate buttons. Instead, we bring you a powerful alternative using JSON set value buttons.
    SharePoint enthusiasts and professionals alike will find this video incredibly useful, as we walk you through the step-by-step process of implementing these unique buttons. By leveraging JSON set value buttons, you'll be able to streamline your document approval workflows with greater flexibility and control.
    Throughout the tutorial, we cover the following key points:
    Introduction to JSON set value buttons and their advantages over traditional Power Automate buttons.
    Understanding the structure and syntax of JSON set value buttons for SharePoint.
    Configuring and customizing the approve and reject buttons to align with your organization's specific needs.
    Demonstrating the integration of JSON set value buttons into SharePoint document libraries.
    Discussing best practices and tips to optimize the functionality and user experience of your document approval process.
    Whether you're an IT professional, SharePoint administrator, or an enthusiast looking to enhance your document management capabilities, this video is packed with valuable insights and practical examples that will empower you to take control of your SharePoint workflows.
    Join us on this exciting journey as we unlock the true potential of SharePoint document approval using JSON set value buttons. Hit the like button, subscribe to our channel, and activate the notification bell to stay updated with more SharePoint tips, tricks, and tutorials.
    ACTION (COPY JSON BELOW THE LINE):
    ----------------------------------------------------------------------
    {
    "$schema": "developer.micr...",
    "elmType": "div",
    "style": {
    "display": "flex",
    "flex-direction": "row",
    "justify-content": "flex-start",
    "align-items": "center"
    },
    "children": [
    {
    "elmType": "button",
    "customRowAction": {
    "action": "setValue",
    "actionInput": {
    "Status": "Approved"
    }
    },
    "attributes": {
    "class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
    },
    "style": {
    "border": "solid",
    "cursor": "pointer",
    "background-color": "#C8E6C9",
    "color": "#006400",
    "font-size": "12px",
    "padding": "8px 15px",
    "margin-right": "5px"
    },
    "txtContent": "Approve"
    },
    {
    "elmType": "button",
    "customRowAction": {
    "action": "setValue",
    "actionInput": {
    "Status": "Rejected"
    }
    },
    "attributes": {
    "class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
    },
    "style": {
    "border": "solid",
    "cursor": "pointer",
    "background-color": "#FFCDD2",
    "color": "#B71C1C",
    "font-size": "12px",
    "padding": "8px 15px"
    },
    "txtContent": "Reject"
    }
    ]
    }
    STATUS (COPY JSON BELOW THIS LINE):
    ----------------------------------------------------------------------
    {
    "$schema": "developer.micr...",
    "elmType": "div",
    "style": {
    "display": "flex",
    "align-items": "center"
    },
    "children": [
    {
    "elmType": "span",
    "style": {
    "font-size": "14px",
    "padding-right": "5px"
    },
    "txtContent": {
    "operator": "?",
    "operands": [
    {
    "operator": "==",
    "operands": [
    "[$Status]",
    "Approved"
    ]
    },
    "😊",
    {
    "operator": "?",
    "operands": [
    {
    "operator": "==",
    "operands": [
    "[$Status]",
    "Rejected"
    ]
    },
    "😢",
    ""
    ]
    }
    ]
    }
    },
    {
    "elmType": "span",
    "txtContent": "[$Status]",
    "style": {
    "font-size": "14px",
    "color": {
    "operator": "?",
    "operands": [
    {
    "operator": "==",
    "operands": [
    "[$Status]",
    "Approved"
    ]
    },
    "#006400",
    {
    "operator": "?",
    "operands": [
    {
    "operator": "==",
    "operands": [
    "[$Status]",
    "Rejected"
    ]
    },
    "#B71C1C",
    ""
    ]
    }
    ]
    }
    }
    }
    ]
    }
    #SharePoint #DocumentApproval #JSONSetValueButtons #WorkflowAutomation #SharePointTips

Комментарии • 20

  • @kipkemeioliver4992
    @kipkemeioliver4992 Год назад +2

    This is helpful. Do you have SharePoint customized Validation SOP/policies

    • @Dougie_Wood
      @Dougie_Wood  Год назад

      Check this out valto.co.uk/microsoft-sharepoint/iso-management/

    • @Dougie_Wood
      @Dougie_Wood  Год назад

      You would benefit from my channel membership, including, exclusive training courses and a chance for a live chat in a Q&A drop in! 💖
      More details: ruclips.net/channel/UCbl8QtLtzfnv6jPoc8gPqFQjoin

  • @ShawnMcCaffrey-d5d
    @ShawnMcCaffrey-d5d 6 месяцев назад

    This is great! I was wondering how I could have essentially two columns that can be approve and reject. When I try it, once the value is chosen in the first column, it carries over to the second. Is there a way to make them independent?

    • @Dougie_Wood
      @Dougie_Wood  6 месяцев назад

      Yes, but it would be rather complex to explain here.
      I’d you require professional help on can email dougie@taskm.co.uk

  • @BreathingAir
    @BreathingAir Год назад +1

    Thanks for this. I have an environment with no PowerApps and Power Automate, so this will come in handy.
    Is this possible on the form? It seems to be conditional formulas only.

    • @Dougie_Wood
      @Dougie_Wood  Год назад +1

      Yes, it is possible to style the forms with JSON as well 👍

    • @Dougie_Wood
      @Dougie_Wood  Год назад

      You would benefit from my channel membership, including, exclusive training courses and a chance for a live chat in a Q&A drop in! 💖
      More details: ruclips.net/channel/UCbl8QtLtzfnv6jPoc8gPqFQjoin

  • @yuvaanshetty127
    @yuvaanshetty127 2 месяца назад

    I want to add back button on document library page using json script , please suggest how to do the same .

    • @Dougie_Wood
      @Dougie_Wood  2 месяца назад

      @@yuvaanshetty127 watch my video on using ChatGPT with SharePoint and it will help 👍

  • @fernandanunez7369
    @fernandanunez7369 8 месяцев назад +1

    THANK YOU SO MUCHHH, THIS WAS VERY HELPFUL

  • @SandraImperial-mr1dw
    @SandraImperial-mr1dw 6 месяцев назад

    Thank you! This was very helpful. Can you share how to show who approved or rejected it in the another column?

    • @Dougie_Wood
      @Dougie_Wood  6 месяцев назад

      This is possible but is to complicated to explain in a response.
      We have a pre-built system which does this plus captures who’s read the document.
      If you would like a price you can email Dougie@taskm.co.uk

  • @dmdatamanagement
    @dmdatamanagement Год назад +1

    thanks for sharing...

    • @Dougie_Wood
      @Dougie_Wood  Год назад

      You are welcome i

    • @Dougie_Wood
      @Dougie_Wood  Год назад

      You would benefit from my channel membership, including, exclusive training courses and a chance for a live chat in a Q&A drop in! 💖
      More details: ruclips.net/channel/UCbl8QtLtzfnv6jPoc8gPqFQjoin

  • @thesharepointhelpdesk
    @thesharepointhelpdesk Год назад +1

    Great stuff

    • @Dougie_Wood
      @Dougie_Wood  Год назад +1

      You’re welcome

    • @Dougie_Wood
      @Dougie_Wood  Год назад

      You would benefit from my channel membership, including, exclusive training courses and a chance for a live chat in a Q&A drop in! 💖
      More details: ruclips.net/channel/UCbl8QtLtzfnv6jPoc8gPqFQjoin