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

Calling Silverlight Application From A Form [Open in a New Window]

$
0
0

Hello,

 

I have created an application in silverlight which is fully functional as a camera that is able to store an image within a notation in CRM (for a custom entity we have created). So each time a button is pressed a single frame is captured as a WriteableBitmap which is then injected into the database as a base64 string within a notation.

Then, within a report, I'm able to convert the base64string saved within the notation into a jpeg and display it as an image anywhere on my report. This is fully functional and we've been testing by simply embedding the application in a test form, works wonderfully and it's creating notes (containing our images) just fine. Each time a note is created, a field on the form is updated with the GUID of the last picture taken.

 

What we would like to do is actually create multiple buttons on a form, to make calls to that application but also have the ability to pass parameters to it. More specifically, we need to access the specific annotation GUID and have that stored in a hidden field near the particular area on the report that the image "belongs" to.

Here is a graphical example;

 

Once the user makes a selection of "fail" and then clicks the "camera button" we would like a new window to open that contains our camera application, user points and takes a picture (this is actually running on a windows 7 tablet), this annotation ID needs to be then passed back to the form into a hidden field so that it can be used in an expression to display the image on the report side.

 

 

Any advice is greatly appreciated!


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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