SharePoint Document Library files view

Shri-6058 326 Reputation points
2022-08-01T06:21:09.89+00:00

I have a requirement to display the file for the next 12 business days(FinalTargetDisplayDate) after its uploaded. With great difficulty I have come out with multiple calculated fields and have a target date until when the file should be displayed. However the Document library filter section only has a date field value populated with a value like [Today] etc. I want to put a condition

[Today] <= FinalTargetDisplayDate. How can we make sure that the files are displayed only for the 12 business days customization in the Document library view?

Microsoft 365 and Office SharePoint Server For business
Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
Microsoft 365 and Office SharePoint Server Development
{count} votes

1 answer

Sort by: Most helpful
  1. Jinwei Li-MSFT 4,736 Reputation points Microsoft External Staff
    2022-08-03T08:10:36.273+00:00

    Hi @Shri-6058 ,

    1.Add Create column.
    227547-image.png

    2.Create a new view.
    227538-image.png

    3.Set a Filter.
    227603-image.png

    Output:
    227600-image.png


    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.