[X ] Question
Hello. How to deploy the button only on specific list. No on all custom list but only on specific list with same name. Thank you
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Can you expand a bit more on what you mean? It's a bit unclear.
Like noted by @bcameron1231, we would need slightly more details to answer. Is this for SPO, SP2019, SP2016, SP2013 or SP2010? Are we talking about SharePoint Framework and modern experiences?
Sorry my mistake. I forgot to say...
I think that this is not possible right now and only chance to do this is check URL get info about the list and set visibility to false if is not correct list....
But this is not effective at all if I will have 100 buttons?
Hmm...
I very very like SPFX and also extension features but I am still missing base functionality which was in old UI...I know that SPFX I can vote for some features but I think for example to write something like this is not so much complicated because in workbench I am connections this button directly on specific list....Hmm....
Thank you very much for any help
The controls you currently have (described here - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/basics/tenant-wide-deployment-extensions ) allow you to execute the extension on a particular WebTemplate and ListTemplate.
From a feature / forward looking perspective, what additional configuration property would you need?
Alternately, you can simply register the extension only on the particular list instance you are interested in. (ie, register the customaction on ListInstance1 and ListInstance2. Depending on how you create those lists, you should be able to have the custom action registration be part of the list creation.
Does that help?
Hello. I am very sorry but I am not sure If I understand you correctly:
"Alternately, you can simply register the extension only on the particular list instance you are interested in." Please I don't understand this... How to achieve this... For example I have Generic List with name "List1" I have Generic List with name "List1"
You're likely going to have to do this programmatically with the SharePoint REST API / CSOM by getting a reference to the list. Each list object has a CustomActionElements collection and each CustomActionElement has a ClientSideComponentId & ClientSideComponentProperties... similar properties you see in the XML generated by the SPFx generator.
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues