Is there a way to remove the Print Layout Button(esri_sharing_PrintLayout) from sharing tab from ArcGIS Pro.
I have managed removing the Export Layout using the below in the config.daml of my Addin.
<modules>
<updateModule refID="esri_layouts">
<splitButtons>
<deleteSplitButton refID="esri_layouts_exportLayoutSplitButton"/>
</splitButtons>
</updateModule>
</modules>
I have failed to remove the print layout using the above method.
I have noticed that none of the DAML definitions(https://github.com/Esri/arcgis-pro-sdk/tree/master/DAML) contain esri_sharing_PrintLayout.
Am I missing something here.
Solved! Go to Solution.
The following did the trick.
<modules>
<updateModule refID="esri_layouts">
<splitButtons>
<deleteSplitButton refID="esri_layouts_exportLayoutSplitButton"/> <!-- removes the export layout button-->
</splitButtons>
</updateModule>
<updateModule refID="esri_sharing">
<groups>
<deleteGroup refID="esri_sharing_PrintLayout" /> <!-- remove print layout button -->
</groups>
</updateModule>
</modules>
Thanks to everyone.
Hi,
Update module refID must be "esri_sharing".
The following did the trick.
<modules>
<updateModule refID="esri_layouts">
<splitButtons>
<deleteSplitButton refID="esri_layouts_exportLayoutSplitButton"/> <!-- removes the export layout button-->
</splitButtons>
</updateModule>
<updateModule refID="esri_sharing">
<groups>
<deleteGroup refID="esri_sharing_PrintLayout" /> <!-- remove print layout button -->
</groups>
</updateModule>
</modules>
Thanks to everyone.