I'm getting started with Command Bar and Power fx and running into an issue.
I have a new button on a custom entity I would like to associate with a new field that is a checkbox. When the button is selected, check the box.
Command Bar - Main Form
Entity = 'Text Messages'
Field = 'Follow Up Complete'
The language I am using now to test entering information when the button is selected works.
This is terrific information.
Within minutes of reading this I've published in our sandbox and will have a peer review today.
Why the field wasn't simply available, I do not know, but cannot thank you enough for finding this question and responding.
You're the best Nik!
Hi elzool,
i´m really happy to hear that :)
If you edit formulars from the FX command bar, the component library is automatically generated/updated and packed into the current solution you are working with.
I made the experience that changes in the FX command bar sometimes are not directly transferred to the app, so then i open the component library to "force" the edit. I guess they should normally have the same formulars but i noticed that the FX command bar is still a little bit slow/buggy. So if prefer to work in the library
hope it helps you
I would like if you can verify my answer :)
Nik, this is fantastic!
Thanks so much for the information!!
Using open component library did allow me to find the field that was 'missing'.
Would I then want the place the rest of the Power fx command for that button into the component library command area?
Hi,
i had exactly the same problem:
The command bar of power fx was not showing the required dataverse field. I tried it with technical name and quotes and so on but it didn´t appeared.
Then i switched to "Open component library".
At that point my dataverse refreshed the new fields were available.
When i typed the required formular with the required field it directly appeared.
Best regards
Nik
It has not been resolved and at this point I may try opening a ticket with them on the issue.
I'll follow up should I go in that direction.
Hi elzool
Is this resolved? I am facing the same problem and yet to get the solution. Please post the answer if the issue got resolved.
Unfortunately this did not make the field available.
Completely reasonable that it should, but no such luck.
I'm still working at this as I can, but flummoxed as to why the field wouldn't be available.
Had the same issue.
--> Open component library (top right below your envorinment)
--> Navigation bar on the left --> Data --> refresh you Dataverse table via "..."
--> Navigation bar on the left --> Tree view --> components (your component should already be selected) --> above the navigation bar you find a dropdown which shows "OnSelected", switch it to "Visible", now you'll see the formula you typed in at the Command Bar designer, now try again in this formular bar to find your column
in my case it worked with the self.selected.item formular
Please mark my answer verified if this is helpful!
I have tried this with both the schema and logical names, which are the same except for capitalization and neither of those worked either.
I even utilized attribute manager in XRM toolbox to change the schema name of the existing new field.
That still did not work.
I was hopeful the schema name change was going to do the trick, but no such luck.
Other thoughts?
Hi,
Please try below code. You need to replace new_isvalid with follow up complete field schema name
Patch('Text Messages',Self.Selected.Item,{'new_isvalid':true});
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,064 Super User 2024 Season 2
Martin Dráb 229,750 Most Valuable Professional
nmaenpaa 101,156