Feb 15 2022 04:43 AM
Hi
I have made a SharePoint list. I really have no use for the TITLE field, as all of my other fields in that lists are getting values from a lot of dropdown values (lookup columns).
I need to populate the TITLE field with the value from e.g. another column that I called SWIMMER.
As far as I know, the TITLE column cannot get values from a lookup field by switching the default value from TEXT to CALCULATED VALUE option. If it's possible, then how do I do it?
If it's not possible, I guess I need to create a Power Automate workflow, which will copy the value from the SWIMMER field into the TITLE field?
Any help is appreciated. Thanks.
Feb 15 2022 06:01 AM
@jensjakobsen1966 So out of curiosity, Do you really need the Title field to be populated? if not, you can try this and see if that fulfills your requirement.
- Go to List Settings -> Columns -> Click on "Title" -> Require that this column contains information -> Choose "No" -> Save
- From the Default view and any other view, de-select Title field
Feb 15 2022 06:04 AM
Feb 15 2022 06:11 AM
Ok Thanks for the detail. So you are correct in assumption that you can't set Calculated Value based on another column as Default value. See following forum discussion which explains as to why it's not possible to set it this way.
https://social.technet.microsoft.com/Forums/en-US/9c32f6fe-9391-4e13-b297-1661dd5d7a03/error-message...
So if you are planning to use PowerApps, Can you actually create an additional column to fill out the value that you are wanting to have in that column and use it for your business logic?
- Second option would be to fire off a Flow (as you have already mentioned) once the item is created and update the Title column to the value you desire.
Feb 15 2022 06:43 AM
@DhirenMehtaMSFT - thank you.
Can we take it a step further, please?
Some of my users will populate data directly from SharePoint, and others will do so from a PowerApp.
So in my view, I believe I need to make a Power Automate flow.
How would that look like?
I've tried to build one, but I get an error on the GET ITEMS, that fails. I've provided 2 screendumps:
1. The error, and the error description.
2. My attempt at the Power Automate flow
May 05 2022 08:25 AM - edited May 05 2022 08:40 AM
@jensjakobsen1966 @DhirenMehtaMSFT ,
Appreciate the idea of not requiring a value in the title column, as that was a great start for my SP List. Would also love to discern how to auto update/advance a number series in a column, whether title or not, as it seems the title column needed as some sort of "anchor" to the entire list, whether used or not.
I'd like to discern which flow trigger works best to auto update a new item with a sequential number (ie: SP List has 1 intital entry, and the next "create new item" updates the number column to 2, and so-on.
Is this possible with triggers: 1) when an item is created, 2) when an item is created or modified? Or is using "calculated value" in list settings an option? I'm not quite sure how to "link" a new item created to the previous/last item ID number completed.
May 05 2022 08:57 AM
Nov 01 2022 05:21 PM
I have this working:
There is a power automate template called "Update the title of SharePoint item when a new item is created"....using that template, under WHEN AN ITEM IS CREATED enter your Site Address and make the List Name "Documents" and then under UPDATE ITEM, use the same list name "Documents" and insert the NAME column into the TITLE field. Save it and it will run each time a new file is uploaded to your library. You can show the Title field in that library to watch it populate...then hide it again. Over in your SP List, add a lookup, documents, Title field (i allowed multiple values). Then in list settings\advance settings, set "attachments to list items are:" to DISABLED.
Feb 05 2023 07:26 AM
Mar 06 2024 06:45 AM
May 01 2024 04:56 AM - edited May 01 2024 04:59 AM
@jensjakobsen1966 a calculated column can be created and linked to the Title (or any other column) with =[Column name] added in the formula field (Column name being the name of the column you have inserted). This calculated column will then always have the same text string as the Title column can then be used in place of the Title field for deep links, etc
I know this isn't what you are asking, but could be a potential workaround.