Is it possible to get current crm solution while opening the configuration page through js or html.
*This post is locked for comments
Hi Nidhi Mehta,
It is not directly possible, but if you store the solution name in a field, you can use it in your JavaScript.
Solution is nothing but, its a container/Layer under default solution where CRM components like Entity , attributes ,web resource etc.. are defined using publisher name . Any component can be exists in multiple solution .
Dynamics CRM does not bother about solution name when render any page . Developer can easily identify by its component name , which will always use publisher prefix , so its better to idetify using publisher name of the solution component.
I don't see any other options to identify solution apart from publisher name of the component.
I have not done it personally, however if you find the publisher and check the prefix you can compare it with your resource name starting.
That way you can find the current solution.
Regards,
Pranav
If found useful, please mark the answer as verified
I need to get current solution name through javascript so that i can use that name in my further requirement.
Currently, i am fetching all the solution names which is present through fetchxml but need only current solution name on which my html is added on configuration page.
Hi Nidhi ,
Can you please give little bit details about your requirement .
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156