CA Service Management

  • 1.  Show a website inside General Description of an offer

    Posted Jan 04, 2019 03:30 PM

    Hi, i need to show realtime information from a specific website inside an offer. The information from that web is important to see before opening the request, is it possible to show it in the general description section? I usually do it with an iframe, but dont know if that is possible.

     

     

    Regards!



  • 2.  Re: Show a website inside General Description of an offer

    Posted Jan 05, 2019 06:14 PM

    Hi,

     

    You can use pure html in a label component. We’ve used it to display iframes.



  • 3.  Re: Show a website inside General Description of an offer
    Best Answer

    Broadcom Employee
    Posted Jan 07, 2019 02:36 AM

    Good Morning.

     

    Please see the below as an example.

     

    Definition:
    Open an attachement in the filestore folder of the Catalog on an SC-Form.

    To get this working:
    - Create folder: .../FileStore/custom/offering_resources
    - Copy a .docx and a .pdf file in this folder
    - In SC/Catalog/Forms/Forms: Add a new form
    - Put a 'label' component on it.
    - In the 'label text' property of that 'label' component, add the text:
    <b>The field with the .docx link: <br> L1. <a href="http://SC-HOST:SC-PORT/usm/FileStore/custom/offering_resources/BitlockerMBAM-Settings-V2.docx" target="_blank">The .docx Document </a><br><br><b>The field with the .pdf link: <br>L2. <a href="http://SC-HOST:SC-PORT/usm/FileStore/custom/offering_resources/CA_Svc_Cat_Release_ENU.pdf" target="_blank">The .pdf Document</a>
    > Click the link while in form-designer or:
    - Form attached to an offering.
    - Open a request for this offering
    - Click on the 'link' on the form

    Resolution:
    https://comm.support.ca.com/kb/how-to-open-office-2007-attachments-with-file-extensions-like-docx-xlsx-and-pptx/kb000053331

    1. Go to "usm_home\view\webapps\usm\WEB-INF" folder edit "web.xml" file.

    2. Search for
    <init-param>
    <param-name>.js</param-name>
    <param-value>text/javascript</param-value>
    </init-param>

    3a. Add a new MIME type for docx there as below:
    <init-param>
    <param-name>.docx</param-name>
    <param-value>application/vnd.openxmlformats-officedocument.wordprocessingml.document</param-value>
    </init-param>

    3b. Add a new MIME type for docx there as below:
    <init-param>
    <param-name>.xlsx</param-name>
    <param-value>application/vnd.openxmlformats-officedocument.wordprocessingml.document</param-value>
    </init-param>

    4. Now place your .docx document inside "usm_home\filestore" folder.

    5. Restart Catalog Service.

    6. Now provide "<a href="FileStore/r.docx">The Document</a>" as the link to download the file.

    7. It will now allow us to download in docx format.

    Kind regards, Louis.



  • 4.  Re: Show a website inside General Description of an offer

    Posted Jan 15, 2019 03:27 PM

    Thank you very much Louis. Is this possible to do that (or similar) on the general description of the offering? (as in the image on my first post)