I used Xrm.Utility.getGlobalContext().getQueryStringParameters().pageType to check form type, but getQueryStringParameters() looks like deprecated. I don't see the needed in formContext.data.attributes. I've seen ways with additional boolean entity field, checking if there is confirm button that is on quick create form or if there is no some field. Are there any other ways that more like using build-in function?