none
Views directory RRS feed

  • Frage

  • Hello,
    I would like to explore DYNAMICS CRM in the form of the contract show the directory in which I have saved documents. (contracts, tables, etc..)
    I created a folder in it IFRAME where I wanted it with the script. View. I do not know what to do.
    I can see jedenadresář for all contracts. I need not see any prohibition for their own directory.
    I advise anyone?
    Thank you very much.
    Freitag, 22. Januar 2010 13:18

Antworten

  • Hi JiMach,

    I had a similar problem and here is my solution:
    The trick is: You can use an IFrame in an IFrame...

    This is the code within the HTML page:
    <HTML>
    <HEAD><title>Test</title>
    <script type="text/javascript">

    var Folder = parent.document.forms[0].all.field_containing_directory_value.DataValue;
    </script>
    </HEAD>
    <BODY>
    <div WebPartID="90b7f004-38f1-4f0b-bc9f-8db03cf82573" HasPers="false" id="WebPartWPQ2" width="100%" class="ms-WPBody" allowDelete="false" style="" ><iframe title="Eine Beispiel-Ordneransicht" frameBorder="0" id="MSOPageViewerWebPart_WebPartWPQ2" name="MSOPageViewerWebPart_WebPartWPQ2" width="100%" height="100%" src="\\myserver\myfolder" ddf_src="\\myserver\myfolder">
         <div class="UserGeneric">Der aktuelle Browser unterstützt keine Webseiten, die das IFRAME-Element enthalten. Um dieses Webpart zu verwenden, müssen Sie einen Browser verwenden, der diese Elemente unterstützt, z. B. Internet Explorer 5 oder höher.</div>
        </iframe></div>
    <script type="text/javascript">
    if (Folder!=null) {
     document.all.MSOPageViewerWebPart_WebPartWPQ2.src=Folder;
    }
    </script>
    </BODY>
    </HTML>


    I hope this is the right hint for you!

    Best regards,
    Nils Frohloff

    Mittwoch, 27. Januar 2010 17:26
  • Hi,

    try the following (you need to allow "cross scripting in the properties of the IFRAME")

    <HTML>
    <HEAD><title>Test</title>
    <script type="text/javascript">

    var Folder = parent.document.forms[0].all.name.DataValue;
    </script>
    </HEAD>
    <BODY>
    <div WebPartID="90b7f004-38f1-4f0b-bc9f-8db03cf82573" HasPers="false" id="WebPartWPQ2" width="100%" class="ms-WPBody" allowDelete="false" style="" ><iframe title="Eine Beispiel-Ordneransicht" frameBorder="0" id="MSOPageViewerWebPart_WebPartWPQ2" name="MSOPageViewerWebPart_WebPartWPQ2" width="100%" height="100%" src="\\myserver\myfolder" ddf_src="\\myserver\myfolder">
         <div class="UserGeneric">Der aktuelle Browser unterstützt keine Webseiten, die das IFRAME-Element enthalten. Um dieses Webpart zu verwenden, müssen Sie einen Browser verwenden, der diese Elemente unterstützt, z. B. Internet Explorer 5 oder höher.</div>
        </iframe></div>
    <script type="text/javascript">
    if (Folder!=null) {
     document.all.MSOPageViewerWebPart_WebPartWPQ2.src="\\myserver\basedirectory\" + Folder;
    }
    </script>
    </BODY>
    </HTML>

    Best regards,
    Nils

    Donnerstag, 28. Januar 2010 13:24
  • Hi,

    you can post your english crm questions here: http://social.msdn.microsoft.com/Forums/en-US/crm/threads

    Best regards,
    Jürgen


    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors

    http://www.combeck.de
    Mittwoch, 12. Mai 2010 14:47
    Moderator

Alle Antworten

  • Hello.

    Do you want to integrate the Windows Explorer with Dynamics CRM? I didn't quite get what you meant...
    Dienstag, 26. Januar 2010 09:41
  • Hello,
    want in the entry opportunities (contract) show avresář in which I have for the project saved data files. Such as Excel spreadsheets or Word text.

    The entities I have added to the view tab, it did IFRAME, there Executing script, which I view the directory. For all items the same directory I can see the command

    window.location.href = "file: / / server / kanspo / CRM;

    However, you need a directory for an obstacle lot.

    Thus

    window.location.href = "file: / / server / kanspo / CRM /" + directory variable to each item, which I can not read from the CRM.

    This is it?
    Mittwoch, 27. Januar 2010 17:10
  • Hi JiMach,

    I had a similar problem and here is my solution:
    The trick is: You can use an IFrame in an IFrame...

    This is the code within the HTML page:
    <HTML>
    <HEAD><title>Test</title>
    <script type="text/javascript">

    var Folder = parent.document.forms[0].all.field_containing_directory_value.DataValue;
    </script>
    </HEAD>
    <BODY>
    <div WebPartID="90b7f004-38f1-4f0b-bc9f-8db03cf82573" HasPers="false" id="WebPartWPQ2" width="100%" class="ms-WPBody" allowDelete="false" style="" ><iframe title="Eine Beispiel-Ordneransicht" frameBorder="0" id="MSOPageViewerWebPart_WebPartWPQ2" name="MSOPageViewerWebPart_WebPartWPQ2" width="100%" height="100%" src="\\myserver\myfolder" ddf_src="\\myserver\myfolder">
         <div class="UserGeneric">Der aktuelle Browser unterstützt keine Webseiten, die das IFRAME-Element enthalten. Um dieses Webpart zu verwenden, müssen Sie einen Browser verwenden, der diese Elemente unterstützt, z. B. Internet Explorer 5 oder höher.</div>
        </iframe></div>
    <script type="text/javascript">
    if (Folder!=null) {
     document.all.MSOPageViewerWebPart_WebPartWPQ2.src=Folder;
    }
    </script>
    </BODY>
    </HTML>


    I hope this is the right hint for you!

    Best regards,
    Nils Frohloff

    Mittwoch, 27. Januar 2010 17:26
  • Hello,

    Thanks for the advice. This, however, I will list each item in the same directory. That I can do.

    I need to have for each item's own. Directory name is the variable name you need to load the CRM script.
    It would be good to see her in the IFRAME and then open the folder.

    It is therefore both appear in the external script variable from view CRM.

    If you would wonder how it will help me.
    I can work with the CRM program, but I am a beginner modifications.

    Is but thanks.
    Donnerstag, 28. Januar 2010 09:47
  • Hi,

    try the following (you need to allow "cross scripting in the properties of the IFRAME")

    <HTML>
    <HEAD><title>Test</title>
    <script type="text/javascript">

    var Folder = parent.document.forms[0].all.name.DataValue;
    </script>
    </HEAD>
    <BODY>
    <div WebPartID="90b7f004-38f1-4f0b-bc9f-8db03cf82573" HasPers="false" id="WebPartWPQ2" width="100%" class="ms-WPBody" allowDelete="false" style="" ><iframe title="Eine Beispiel-Ordneransicht" frameBorder="0" id="MSOPageViewerWebPart_WebPartWPQ2" name="MSOPageViewerWebPart_WebPartWPQ2" width="100%" height="100%" src="\\myserver\myfolder" ddf_src="\\myserver\myfolder">
         <div class="UserGeneric">Der aktuelle Browser unterstützt keine Webseiten, die das IFRAME-Element enthalten. Um dieses Webpart zu verwenden, müssen Sie einen Browser verwenden, der diese Elemente unterstützt, z. B. Internet Explorer 5 oder höher.</div>
        </iframe></div>
    <script type="text/javascript">
    if (Folder!=null) {
     document.all.MSOPageViewerWebPart_WebPartWPQ2.src="\\myserver\basedirectory\" + Folder;
    }
    </script>
    </BODY>
    </HTML>

    Best regards,
    Nils

    Donnerstag, 28. Januar 2010 13:24
  • Hi,

    you can post your english crm questions here: http://social.msdn.microsoft.com/Forums/en-US/crm/threads

    Best regards,
    Jürgen


    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors

    http://www.combeck.de
    Mittwoch, 12. Mai 2010 14:47
    Moderator