Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugin not trigger from Resco Mobile App

(0) ShareShare
ReportReport
Posted on by 492

Hi,

I wrote a plugin for message associate and disassociate, In that, I have changed the status of add/delete a subgrid record and work fine as per my expectation 

Issue: Same I do from Resoc mobile app, that time plugin is not triggering on associated/disassociate event.

Thanks

*This post is locked for comments

  • AbhiCode Profile Picture
    492 on at
    RE: Plugin not trigger from Resco Mobile App

    Thank you, Thomas.

  • Verified answer
    AbhiCode Profile Picture
    492 on at
    RE: Plugin not trigger from Resco Mobile App

    Hi,

    I found the solution.

    The issue is on web parent entity is comes A and on resco parent entity comes B. 

    Solution: I plugin need to check first which is the parent entity and then put logic accordingly 

    28266.Capture1.JPG

    Thank you.

  • AbhiCode Profile Picture
    492 on at
    RE: Plugin not trigger from Resco Mobile App

    Hi Thomas,

    N:N relationship is already enable.

    My issue is,

    I have one plugin which is a trigger on Associated and Disassociated message. When I associate the record from entity A (N:N) grid then need to change the add count of total associated record on Entity A field. This working fine in web crm.

    But when I try to associate the record from mobile app Resco then it shows that field is not available on entity B. That is correct bacuse that field is on Entity A. But I not understand why plugin take target of entity B on moble app.

    Can we debug it why resco mobile app ? any suggestion.

    Thanks

  • Suggested answer
    Thomas David Dayman Profile Picture
    11,323 on at
    RE: Plugin not trigger from Resco Mobile App

    Is the relationship N:N? You might need to enable the relationship in Resco as it wont pick up records being associated and disassociated. http://www.kentom.co.uk/?p=400

    If its a 1:N then you will need to sync the device to the server once you have done the change on the Resco app

    If you want the action to happen immediately on the Resco App then you will have to create an Offline HTML Javascript to replicate what you plugin is currently doing.

  • AbhiCode Profile Picture
    492 on at
    RE: Plugin not trigger from Resco Mobile App

    When I disassociate record useing Resco App,that time my plugin is not trigger. Record will remove in both web and moble but my custome activie(plugin) not trigger.

  • Thomas David Dayman Profile Picture
    11,323 on at
    RE: Plugin not trigger from Resco Mobile App

    Hi Abhishek,

    Are you expecting the plugin to execute on the Resco App? Or are you saying that when the plugin doesn't execute server side when you sync the changes to the server?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans