Hi,
I am editing the command bar for the Main form of a custom entity.
I have made a Command button using the modern command designer however at least one of the fields in my custom table is not available in the intellisense. Intellisense is not finding it by the display name, and if I enter the schema or logical name, it says the field does not exist.
Any ideas on why I can't find it? This is a recently added field, but I've published customisations since adding it. It looks like all the other fields from the table are available but not this one. Most of the fields were created before the recent changes to the modern solution explorer (the ones published around the time of MS Build) but this field was added after those upgrades.
Solved! Go to Solution.
In case anyone else has this problem, in order to have the command bar pick up latest changes to the data source you need to open the default command library for the model driven app, find the correct data source and refresh it.
Hi @sb_teal ,
This might not be the situation but it appears you are using the name of the field vs. the Display name. Example is if the Display name is 'Confirm Date' and the backend name of the field is teal_dateconfirmed wouldn't you do the following?
Patch(Sheds,Self.Selected.Item, {'Shed Status' : 'Shed Status'.Order, 'Confirm Date' : teal_dateconfirmed, 'Confirm Date' : Now()})
Sorry if this is off the path.
Hi @dpoggemann thanks for the suggestion, this doesn't work. For all other fields the display name is available via intellisense, but for some reason this field (Display Name = 'Date Order Confirmed', logical name = teal_dateconfirmed) isn't available - it tells me the column doesn't exist but it does exist.
Hi @sb_teal
Can you please check teal_dateConfirmed file field is available in the table or not
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Follow me on Twitter : @rampprakashd
Blog : https://microsoftcrmtechie.blogspot.com
Not sure what you mean by "file field" but the field is in the table, as shown in screen shot below:
In case anyone else has this problem, in order to have the command bar pick up latest changes to the data source you need to open the default command library for the model driven app, find the correct data source and refresh it.
Thank you! It works for me too.
User | Count |
---|---|
20 | |
11 | |
9 | |
5 | |
5 |
User | Count |
---|---|
31 | |
30 | |
15 | |
12 | |
9 |