mickle026 401 Posted March 29, 2023 Share Posted March 29, 2023 (edited) Is it possible not to have these repeat in the UI if we use the same IExternalId in several plugins, but are in different namespaces I am currently using these a lot, especially one I created for aliases, which I am currently using in a JSON metadata server. One of my plugins creates the XML/Json for the server and another Reads it as a metadata fetcher, but they both show up in the UI When they are in several different plugins, they repeat in the metadata editor, in the Identify dialog etc I am using the EXACT same code in both plugins, the class is the same, its just the namespace thats not. I wish to use it also in other place and testing it out it repeats a 3rd and a 4th time. There is no need for them to repeat, they are the same ProviderName. public class ExternalAliasesCSV : IExternalId { public string Name => "Aliases (Comma Seperated)"; public string ProviderName => "ALCSV."; public string Key => "ALCSV."; public string UrlFormatString => null; public bool Supports(IHasProviderIds item) => item is Person; } Well I tested Adding them all for all plugins in the same Namespace so all plugins have exactly the same code for External IDs, They still repeat namespace ExternalIDS { class ExternalIDs { Edited March 30, 2023 by mickle026 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now