Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Opening new record - with write back query

$
0
0

Hi,

I'm looking at adding a button to the ribbon of the inident entity that will open a new record of one of several different types of entities, based on a category selected on the incident. I've currently got this working, however when the new entity record is opened and saved, i need a way of linking this back to incident such that hen the button is pressed a subsequent time, it recognises an existing record of the relevant entity is associated with the incident and goes straight to that.

The bit i am stuck on is the best way to link the new record back to the incident. Currently on the incident i have a hidden lookup attribute to each of the other entities (with only one to be used on any given record). I thought about possibly passing the guid of the incident up to the new entity and then using a plugin when saving to set the appropriate lookup on the incident to the newly saved "other" entity record, but would appreciate any views on other more efficient ways to do this.

Thanks

oli


Viewing all articles
Browse latest Browse all 82002


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>