Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom unbound action

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I have a requirement for that i have created the input and output parameters but don't know how to apply the business logic. 

Below is my requirement:

  1. Create custom unbound action with below details:
    1. Input parameter: Key (String) | Required Parameter
    2. Output parameter: result (Multiple line of Text) | Required Parameter
    3. Business logic: When action is called, input string should be encrypted and return in result parameter with encrypted string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Can anyone please help me out to do this?

Thanks in advance :)

*This post is locked for comments

  • Clem Profile Picture
    Clem 2,541 on at
    RE: Custom unbound action

    Hi Anita,

    Here is a global overview : msdn.microsoft.com/.../gg309745.aspx;MSPPError=-2147217396

    and here is a code sample : msdn.microsoft.com/.../gg334455.aspx

    In you case you would have 2 arguments :

    [Input("your string")]

    public InArgument<string> stringToCrypt{ get; set; }

    [Output("your encrypted string")]

    public OutArgument<string> CryptedStringget; set; }

    But again, if you want to avoid doing code, check the github link from my previous answer, it provides a solution you can install on your environment, and this is handling encryption of string.

    Regards Clément

  • RE: Custom unbound action

    Thanks Clement for your suggestion but i am not so much aware of the custom workflow.

    If you can share some more links where i could get the more information about it, would be really kind of you :)

    Thanks,

    Anita Chaudhary

  • Suggested answer
    Clem Profile Picture
    Clem 2,541 on at
    RE: Custom unbound action

    What about a custom workflow ?

    You can trigger it whenever you want (from a ootb action or even via JS) and in the custom workflow you can easily encrypt your string and get it in return to push this data to your form.

    Another solution would be to use : github.com/.../releases

    there is a custom workflow in the solution to encrypt content.

    Regards,

    Clément

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans