Hi,
I have a Desktop Addin that will check the properties of an mxd when it's opened to see if the mxd can be used for the addin. No tricky logic, just read the Map Document Properties and see if a keyword is present in the Credits. If it is present, then the addin will "load" the mxd and create all the necessary references to layers and what not needed to run the tools.
While porting the Desktop addin to Pro, I am having a terrible time trying to replicate this with Pro 3.5 SDK. I've researched this and some stuff says it is possible but the code never works and others say that it's not possible.
Is there a way to read the tags?
Decided that an easier way to go would be to subscribe to the
ProjectOpenedEvent.Subscribe(OnProjectOpened);
Then I can test to see if the layers are present and then "load" the data into the addin.