Nice post – Developing plug-in for CRM 4


Hi,

While browsing found this wonderful articl, do check it

http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx

Bye..


Discover more from Nishant Rana's Weblog

Subscribe to get the latest posts sent to your email.

Unknown's avatar

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

5 thoughts on “Nice post – Developing plug-in for CRM 4”

  1. Hi Nishant,

    I Need one help.

    To register a plug- in, a user should be a part of deployment admin group right?

    I want the list of users who has been added in deployment administrators group. Is it possible through webservice? If so what request should be made to retrieve it?

    Thanks,
    Krutika

    Like

    1. For deployment manager we do have a web service in CRM 4 i.e. CrmDeploymentService.
      But it seems that there are no request classes in it which could fetch us the name of all the deployment administrators.
      It has got request classes which provide information about the organizations.

      But i am still looking into it !!!
      Let’s hope there is someway of finding that out 🙂

      And could i know why you need that informaion?

      Like

  2. The functionlity is registering and unregistering the plug-in through code. So when user click on register/ unregister a plug-in , I need to check whether the user is there in deployment administrator’s group. if he is not a part of that group then do not allow to go ahead with the process.

    I checked on net and found a blog which says systemuser table in MSCRM_CONFIG db stores the info. and when I checked there the name field remains filled if the user is there in deployment admin group. One solution is to check the name field empty for that user but I think its not a good solution as to direct access the config DB and second the logic is not good .. that might be pos. that the value in the name field may get filled/ use for some other purpose.

    Like

    1. I was just checking the same i.e. systemuser table in mscrm_config.

      So when a user clicks on register/unregister button you need to check if the user is a deployment administrator or not.

      One solution like you said would be to check against the systemuser table.
      Other option would be to let the user click on it and if he isn’t the deployment administrator an exception would be raised, which you could catch and provide appropriate message, just like plugin registration tool.

      Like

  3. Thanks Nishant. I also need the same functionality in the starting of the installer. So if user is not there in D.A. group then dont allow him to proceed further. This time I think the above idea wont work. because after taking the credentials we will register the product and that time only the above logic will work.. but I need it before that..

    Like

Please share your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Nishant Rana's Weblog

Subscribe now to keep reading and get access to the full archive.

Continue reading

Power Platform Puzzles

D365 CRM, Power Platform Tips &Tricks

Power Spark

Power Spark By Shrangarika

Van Carl Nguyen

Exploration of Power Platform

My Trial

It is my experience timeline.

Power⚡Thomas

Sharing my knowledge and experience about the Microsoft Power Platform.

Arpit Power Guide

a guide to powering up community

Welcome to the Blog of Paul Andrew

Sponsored by Cloud Formations Ltd

Deriving Dynamics 365

Deriving Solutions and features on Power Platform/Dynamics 365

The CRM Ninja

Thoughts & musings from a Microsoft Business Applications Ninja!

D CRM Explorer

Learn about Microsoft Dynamics CRM Power Platform customization and implementation and other cool stuffs

Stroke // Jonas Rapp

I know pre-stroke. I will improve who I was.

Power Melange

Power Melange By Shalinee

Clavin's Blog - PPUG.ORG

AI - Power Automate - Power Apps - SharePoint Online - Azure - Nintex - K2 - Artificial Intelligence

Sat Sangha Salon

An Inquiry in Being

The Indoencers

The Influencers & Influences of Indian Music

Monika Halan's blog

Hand's-free money management

D365 Demystified

A closer look at Microsoft Dynamics 365.

Microsoft Mate (msftmate) - Andrew Rogers

Experienced consultant primarily focused on Microsoft Dynamics 365 and the Power Platform

Manmit Rahevar's Blog

One Stop Destination for Microsoft Technology Solutions

MG

Naturally Curious

Brian Illand

Power Platform and Dynamics 365

Steve Mordue

The Professional Paraphraser

Subwoofer 101

Bass defines your home theater

SQLTwins by Nakul Vachhrajani

SQL Server tips and experiences dedicated to my twin daughters.

Everything D365

Discovering Azure DevOps and D365 Business Applications

Tech Wizard

Lets do IT Spells

XRM Tricks (Power Platform & Dynamics CRM )

Power Platform & Dynamics CRM

CRM TIPS BY PRM

Mail to crmtipsbyprm@gmail.com for queries and suggestions

nijos.dev

Giving back to the community what I have learned

Power Platform Learning

Your Go-To Resource for Power Apps, Power Automate & More

xrm CRM Dynamics

Dynamics CRM Technical & Functional Info

Dynamics 365 Blogs - Explained in unique way

Sometimes you need to look at things from different perspective.