web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Hide or remove Attach Files From component in knowledge article for interactive experience form

(0) ShareShare
ReportReport
Posted on by 235

Hello Partners,

Is there an OOB way to hide or remove the "Attach Files From" dropdown in KA's knowledge article for interactive experience form? In our app, we have enabled Document Management from the entity level so that all attachments would be maintained in a Sharepoint folder.

pastedimage1668406934469v1.png

Regards,

Jolas365

  • Suggested answer
    Steve Zhao2 Profile Picture
    Microsoft Employee on at

    Hi Jolas365,

    There is no OOB way to hide this button. Usually, we use Ribbon Workbench to hide button. However, when I add 'Knowledge Article Attachment', I get the following error:

    pastedimage1668418011355v1.png

    You can try this on your side. If not work, you could try to follow this blog:

    Hiding Special buttons from Dynamics 365 CE | HIMBAP

  • Suggested answer
    Rahuldubey Profile Picture
    105 on at

    You need to export the form xml, where control is added and manually make the changes in XML to disable it , it is not supported way but will work

    something similar:

    1.     

    2. http://tunnik.name/how-to-hide-timeline-control-action-buttons/ 

    hope that helps 

  • Jolas365 Profile Picture
    235 on at

    Hello @Steve Zhao,

    Thank you. I tried the same and I also got an error similar to what you got.

    Thanks,

    Jolas365

  • Jolas365 Profile Picture
    235 on at

    Hello Steve Zhao2

    Is it possible to hide it in customization.xml? I created a new solution containing only knowledge article and knowledge article attachment entities, then I exported it.

    Please see below the customization. xml:

    <ImportExportXml xmlns:xsi="">www.w3.org/.../XMLSchema-instance">
    <Entities>
    <Entity>
    <Name LocalizedName="Knowledge Article" OriginalName="">KnowledgeArticle</Name>
    <EntityInfo>
    <entity Name="KnowledgeArticle" unmodified="1">
    <attributes />
    </entity>
    </EntityInfo>
    <RibbonDiffXml>
    <CustomActions />
    <Templates>
    <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
    </Templates>
    <CommandDefinitions />
    <RuleDefinitions>
    <TabDisplayRules />
    <DisplayRules />
    <EnableRules />
    </RuleDefinitions>
    <LocLabels />
    </RibbonDiffXml>
    </Entity>
    <Entity>
    <Name LocalizedName="Knowledge Article Attachment" OriginalName="Knowledge Article Attachment">msdyn_kbattachment</Name>
    <EntityInfo>
    <entity Name="msdyn_kbattachment" unmodified="1">
    <attributes />
    </entity>
    </EntityInfo>
    <RibbonDiffXml>
    <CustomActions />
    <Templates>
    <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
    </Templates>
    <CommandDefinitions />
    <RuleDefinitions>
    <TabDisplayRules />
    <DisplayRules />
    <EnableRules />
    </RuleDefinitions>
    <LocLabels />
    </RibbonDiffXml>
    </Entity>
    </Entities>
    <Roles></Roles>
    <Workflows></Workflows>
    <FieldSecurityProfiles></FieldSecurityProfiles>
    <Templates />
    <EntityMaps />
    <EntityRelationships />
    <OrganizationSettings />
    <optionsets />
    <CustomControls />
    <EntityDataProviders />
    <Languages>
    <Language>1033</Language>
    </Languages>
    </ImportExportXml>

    Since I have no prior experience manipulating the xml file, I am not sure how to hide that attachment button custom action in xml file.

    Thanks

    Jolas365

  • Jolas365 Profile Picture
    235 on at

    Hello Rahul Dubey ,

    Is it possible to hide it in customization.xml? I created a new solution containing only knowledge article and knowledge article attachment entities, then I exported it.

    Please see below the customization. xml:

    <ImportExportXml xmlns:xsi="">www.w3.org/.../XMLSchema-instance">

    <Entities>

    <Entity>

    <Name LocalizedName="Knowledge Article" OriginalName="">KnowledgeArticle</Name>

    <EntityInfo>

    <entity Name="KnowledgeArticle" unmodified="1">

    <attributes />

    </entity>

    </EntityInfo>

    <RibbonDiffXml>

    <CustomActions />

    <Templates>

    <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>

    </Templates>

    <CommandDefinitions />

    <RuleDefinitions>

    <TabDisplayRules />

    <DisplayRules />

    <EnableRules />

    </RuleDefinitions>

    <LocLabels />

    </RibbonDiffXml>

    </Entity>

    <Entity>

    <Name LocalizedName="Knowledge Article Attachment" OriginalName="Knowledge Article Attachment">msdyn_kbattachment</Name>

    <EntityInfo>

    <entity Name="msdyn_kbattachment" unmodified="1">

    <attributes />

    </entity>

    </EntityInfo>

    <RibbonDiffXml>

    <CustomActions />

    <Templates>

    <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>

    </Templates>

    <CommandDefinitions />

    <RuleDefinitions>

    <TabDisplayRules />

    <DisplayRules />

    <EnableRules />

    </RuleDefinitions>

    <LocLabels />

    </RibbonDiffXml>

    </Entity>

    </Entities>

    <Roles></Roles>

    <Workflows></Workflows>

    <FieldSecurityProfiles></FieldSecurityProfiles>

    <Templates />

    <EntityMaps />

    <EntityRelationships />

    <OrganizationSettings />

    <optionsets />

    <CustomControls />

    <EntityDataProviders />

    <Languages>

    <Language>1033</Language>

    </Languages>

    </ImportExportXml>

    Since I have no prior experience manipulating the xml file, I am not sure how to hide that attachment button custom action in xml file.

    Thanks

    Jolas365

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 50 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans