Automatically assign view title to column when new Sharepoint List item added

David Carroll 21 Reputation points
2022-01-31T23:13:07.663+00:00

I've created a master list of items in a Sharepoint List. I have established multiple views of this list (filtered on Customer) and pinned them into Teams according to Customer. I would like to hide the Customer Column in each view, and default Customer for new items created in those views to the name of the current view (Views are named according to customer). Is there a way to do this inside the column's calculation, or is there any other way to do this?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,735 questions
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,321 Reputation points
    2022-02-01T07:46:25.677+00:00

    Hi @David Carroll ,

    Do you want to get current view title and add it into new column when create new item?

    Per my test, there is no available way to achieve this. I tried to use calculated columns but the calculation only depend on other column values. So we are not able to get view name and add it to SharePoint list columns.


    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.


1 additional answer

Sort by: Most helpful
  1. David Carroll 21 Reputation points
    2022-02-02T14:06:42.603+00:00

    Thanks, I will travel on!

    0 comments No comments