none
SPFX List View Command Set Extension Issue RRS feed

  • Question

  • I have couple of issues in my SPFX Command Sets Extension.
     1. Actions Buttons are keep adding in toolbar on list item selection.
     2. I have added two different Custom Action(with same command Extension, but only one action showing)
    I am using folowing npm and gulp Version:
      
    I have followed [this link][3] to create the Command set extension. I have added two User Custom Action in Web, below is schema for the Custom Actions
    <d:ClientSideComponentId m:type="Edm.Guid">f9df87d8-7734-44bf-9c3d-c8aaa96b7ac0</d:ClientSideComponentId>
    <d:ClientSideComponentProperties>{"Title": "List Print","URL": "[[Action Page URL]]","AllowMultipleItems": false,"ImageURL": "[[png image url]]","DialogTitle": "Print Manager","DialogWidth": "1040","UseSelectedItem": false,"UseDialog": true,"IsMenu": false,"AllowListTypes": "0"}</d:ClientSideComponentProperties>
    <d:Location>ClientSideExtension.ListViewCommandSet.CommandBar</d:Location>
    <d:Name>ListPrintListSPFx</d:Name>
    <d:RegistrationId m:null="true" />
    <d:RegistrationType m:type="Edm.Int32">1</d:RegistrationType>
    <d:Title>ListPrintListSPFx</d:Title>

        
        //============
        
    <d:ClientSideComponentId m:type="Edm.Guid">f9df87d8-7734-44bf-9c3d-c8aaa96b7ac0</d:ClientSideComponentId>
    <d:ClientSideComponentProperties>{"Title": "Item Print","URL": "[[Action Page URL]]","AllowMultipleItems": false,"ImageURL": "[[png image url]]","DialogTitle": "Print Manager","DialogWidth": "1040","UseSelectedItem": true,"UseDialog": true,"IsMenu": false,"AllowListTypes": "0"}</d:ClientSideComponentProperties>
    <d:Location>ClientSideExtension.ListViewCommandSet.CommandBar</d:Location>
    <d:Name>ItemPrintListSPFx</d:Name>
    <d:RegistrationId m:null="true" />
    <d:RegistrationType m:type="Edm.Int32">1</d:RegistrationType>
    <d:Title>ItemPrintListSPFx</d:Title>

    Please help, Thanks

    Prakash Arya www.crowcanyon.com

    Friday, September 20, 2019 2:49 PM