I used the js below for getting name of the main forms fine but it doesn't seem to work on Quick Create Form.
Could iFrame be of any use for my intend?
Hi,
Note
The formContext.ui.formSelectoris not supported for quick create forms.
docs.microsoft.com/.../formcontext-ui-formselector
Hi Dyname365,
Yes, because Quick Create Form doesn't have formSelector. And I couldn't find any method to get name of the Quick Create Form by Client API(docs.microsoft.com/.../reference).
As a workaround, you could pass the name of Quick Create Form as parameter to your function:
And you can get it like this:
function formOnLoad(executionContext,formName){ console.log(formName); }
Result:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
DAnny3211 134
Daniyal Khaleel 106
Abhilash Warrier 70 Super User 2025 Season 2