web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Video 365 integration with CRM 2015 Online

(0) ShareShare
ReportReport
Posted on by 210

What is the best way to integrate Video 365 with CRM 2015 Online?

Ideally I'd like the Video files embedded within the page, and played out from the record itself. I've been able to do this using an iFrame and the Embed URL generated from within Video 365, however this would require the manual entry of each embed tag into each individual CRM record.

Embedded-Video.JPG

Is there an easier way of integrating, and displaying saved Video 365 content within CRM 2015 Online?

*This post is locked for comments

I have the same question (0)
  • Abe Saldana Profile Picture
    390 on at

    Hi IanMck,

    you can update the value for the IFrame dynamically using a javascript on the onload event for the form, 

    Please follow the sample included on the article "Use an IFRAME and web resource controls on a form"

    https://msdn.microsoft.com/en-us/library/gg328034.aspx

    Here is the sample code

    //Get the value of an option set attribute

    var value = Xrm.Page.data.entity.attributes.get("new_pagechooser").getValue();
    var newTarget = "";
    //Set the target based on the value of the option set
    switch (value) {
        case 100000001:
            newTarget = "myserver/.../pageOne.aspx";
            break;
        default:
            newTarget = "myserver/.../pageTwo.aspx";
            break;
    }
    //Get the default URL for the IFRAME, which includes the 
    // query string parameters
    var IFrame = Xrm.Page.ui.controls.get("IFRAME_test");
    var Url = IFrame.getSrc();
    // Capture the parameters
    var params = Url.substr(Url.indexOf("?"));
    //Append the parameters to the new page URL
    newTarget = newTarget + params;
    // Use the setSrc method so that the IFRAME uses the
    // new page with the existing parameters
    IFrame.setSrc(newTarget);
  • IanMcK Profile Picture
    210 on at

    Thanks for the info Abe. I had looked into this solution, however this requires the Embed URL to be stored within each record in the CRM Entity.

    This solution is required for 3000+ videos, with around an additional 20+ added each week. The problem would be adding the Embed URL into the Entity form automatically following the upload of the file to Video 365.

    Do you know of anyway to do this?

    After a lot of though I'd come to the conclusion that there must be an easier way of integrating CRM with Video.

    Many thanks,

    Ian

  • IanMcK Profile Picture
    210 on at

    Is there any automated way of uploading and linking Video 365 files to CRM?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans