Forum Discussion

Liza-123's avatar
Liza-123
Copper Contributor
Nov 21, 2018

Email notifications to SharePoint users if a file is checked out for long time.

Hi,

 

I want to send SharePoint users automated email notifications if a file is left checked out for long time (say after 24 hours) and then send regular reminder till the file is checked in.

I am not able to find any straight forward way to do it using alerts or workflow, please help.

    • Liza-123's avatar
      Liza-123
      Copper Contributor
      I am open to development option, can you please elaborate more on how can i do it with coding?
      • Heiko Watz's avatar
        Heiko Watz
        Iron Contributor

        Try PowerShell with SharePoint PNP.

        Get all List-Items who ‘CheckoutUser’ is not empty.

         

        CAML:

        <Query>

           <Where>

              <IsNotNull>

                 <FieldRef Name='CheckoutUser' />

              </IsNotNull>

           </Where>

        </Query>

         

        But there isn’t a check out date field ☹

        Try to use the Modified field.

Resources