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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    Steve Zhao2 Profile Picture
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 61 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans