dynamics-crm

PCF control extending the native grid

元气小坏坏 提交于 2021-01-25 07:18:24
问题 This question is follow up on another SO thread. When I'm trying to use this manifest, getting error. <?xml version="1.0" encoding="utf-8"?> <manifest> <control namespace="MyControls.MyGridControl" constructor="MyGridControl" display-name-key="MyGridControl" description-key="MyGridControl" version="1.0.0" hidden="false" control-type="virtual"> <modes><read /><edit /></modes> <data-set name="Grid" display-name-key="CC_Grid_DSGrid" cds-data-set-options="displayViewSelector:false

PCF control extending the native grid

大城市里の小女人 提交于 2021-01-25 07:18:15
问题 This question is follow up on another SO thread. When I'm trying to use this manifest, getting error. <?xml version="1.0" encoding="utf-8"?> <manifest> <control namespace="MyControls.MyGridControl" constructor="MyGridControl" display-name-key="MyGridControl" description-key="MyGridControl" version="1.0.0" hidden="false" control-type="virtual"> <modes><read /><edit /></modes> <data-set name="Grid" display-name-key="CC_Grid_DSGrid" cds-data-set-options="displayViewSelector:false

PCF control extending the native grid

柔情痞子 提交于 2021-01-25 07:17:38
问题 This question is follow up on another SO thread. When I'm trying to use this manifest, getting error. <?xml version="1.0" encoding="utf-8"?> <manifest> <control namespace="MyControls.MyGridControl" constructor="MyGridControl" display-name-key="MyGridControl" description-key="MyGridControl" version="1.0.0" hidden="false" control-type="virtual"> <modes><read /><edit /></modes> <data-set name="Grid" display-name-key="CC_Grid_DSGrid" cds-data-set-options="displayViewSelector:false

Get optionset text from OData query in CRM web api

感情迁移 提交于 2021-01-02 13:22:53
问题 https://example.com/crm/api/data/v8.2/accounts?$select=custom_optionset The above query selects all values in an optionset field in CRM. The return data looks something like this: { { "@odata.etag":"W/\"112607639\"","custom_optionset":285960000,"accountid":"a08f0bd1-e2c4-e111-8c9a-00155d0aa573" }, { "@odata.etag":"W/\"112615384\"","custom_optionset":285960010,"accountid":"a18f0bd1-e2c4-e111-8c9a-00155d0aa573" } } I don't want the value of the optionset. I want the associated text label. How

CRM FetchXML activitytypecode Result doesn't have enum int value

微笑、不失礼 提交于 2020-12-09 06:33:30
问题 I have a JS project where I want to pull out the CRM Activity types, let the user select and then do another fetchxml query with the chosen activity types. I can get distinct list of the activitytypecodes out with simple FetchXML <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"> <entity name="activitypointer" > <attribute name="activitytypecode" /> </entity> </fetch> result.attributes["activitytypecode"].formattedValue; //Returns name - 'Phone Call' result

CRM FetchXML activitytypecode Result doesn't have enum int value

前提是你 提交于 2020-12-09 06:30:19
问题 I have a JS project where I want to pull out the CRM Activity types, let the user select and then do another fetchxml query with the chosen activity types. I can get distinct list of the activitytypecodes out with simple FetchXML <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"> <entity name="activitypointer" > <attribute name="activitytypecode" /> </entity> </fetch> result.attributes["activitytypecode"].formattedValue; //Returns name - 'Phone Call' result

Is there a way how to hide quick find on top of grid?

浪子不回头ぞ 提交于 2020-12-07 04:38:30
问题 Is there a way to hide quick find search box on top of grid - either programmatically or via ribbon / customizations ? Btw, it should be in supported/able manner (no direct DOM manipulations). 回答1: If anyone is interested - it is possible; it involves a shipping of your own custom grid control. Then in control manifest make sure to specify cds-data-set-options="displayViewSelector:false;displayQuickFind:false" <?xml version="1.0" encoding="utf-8"?> <manifest> <control namespace="MyControls