SharePoint caculated columns can only reference other columns in the same row, it's impossible to reference the value in current URL. You could check this article for calculated columns: examples-of-common-formulas-in-sharepoint-lists
SharePoint calculated column using part of URL
rt96
1
Reputation point
Hi guys
I am trying to do something new.
I would like to create a calculated column that contains part of current URL by default. So for example;
The URL contains ProjUid. I would like to get this value into a SharePoint list column (text is fine) for new items. Any ideas how?!
2 answers
Sort by: Most helpful
-
-
MichaelHan-MSFT 18,016 Reputation points
2020-08-05T02:53:49.327+00:00 Hi, @rt96
You can use rest api in the workflow to get the ProjectUID. The steps are in this article: project-web-app-get-project-id-from-project-related-site-via-rest