CA Service Management

 View Only
  • 1.  Remove "High priority" flag when adding a note

    Posted Jan 20, 2017 04:25 AM
      |   view attached

    Hi all,

     

    is it possible to remove the "High priority" flag when in the "note" popup (see attach)?

     

    I commented some rows in request_notes.xsl file , but it didn't work out.

     

    Best regards,

    S.

     

       ... 

        <xsl:if test="not($readonly)">
            <div class="dialog-content">
              <table class="addTable" name="addTable" style="width:100%;">
     <!--           <tr>
                  <td colspan="2" class="fieldvalue">
                    <input type="checkbox" id="importance" name="importance" value="1"/>
                    <label for="importance"><xsl:value-of select="$request.notes.content/high_importance_level"/> </label>
                    
                  </td>
                </tr>         
    -->            <tr id="dText">
                  <td colspan="2">
                    <table class="t" style="width:100%;" height="100%;">
                      <tr id="rich" >
                        <td colspan="2" align="right">
                          <xsl:call-template name="richtextnotes_toolbar">
                            <xsl:with-param name="editorsrc" select="''" />
                            <xsl:with-param name="editorheight" select="'200px'"/>
                            <xsl:with-param name="editorwidth" select="'916px'"/>   
                            <xsl:with-param name="addOnCklick" select="false()"/>
                            <xsl:with-param name="portal" select="$portal"/>              
                          </xsl:call-template>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr id="plain" style="display:none">
                <label for="itemtext" aria-hidden="true" style="display:none">Hidden Item Text</label>
                  <td class="fieldvalue"><textarea id="itemtext"></textarea></td>
                </tr>   
                <tr id="plain" style="display:none">
                  <td class="fieldvalue"><textarea id="itemtext"></textarea></td>
                </tr>             
              </table>
           </div>
          </xsl:if>

    ...



  • 2.  Re: Remove "High priority" flag when adding a note

    Broadcom Employee
    Posted Jan 20, 2017 07:52 AM

    Good Afternoon Salvatore.
     
    The file you mentioned: "request_notes.xsl" need to be changed from within another folder:
    C:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\request\common
     
    Then add the comment-lines as in the below example and save the file.
    <!--
                <tr>
                  <td colspan="2" class="fieldvalue">
                    <input type="checkbox" id="importance" name="importance" value="1"/>
                    <label for="importance"><xsl:value-of select="$request.notes.content/high_importance_level"/> </label>
                  </td>
                </tr>        
    -->
     
    To activate this change, then perform these steps:
    - Stop the CA Service Catalog services(Accounting and Catalog)
    - Empty/clear the %USM_HOME%\view\translets folder
    - (re)move the %USM_HOME%\logs\*.log files
    - Clear the browser-cache
    - Start the CA Service Catalog services(Accounting and Catalog)
     
    Thanks and kind regards, Louis van Amelsfort.



  • 3.  Re: Remove "High priority" flag when adding a note

    Broadcom Employee
    Posted Jan 20, 2017 07:54 AM

    Good Afternoon Salavtore.

     

    My earlier update was based on my assumption that this question was raised for an CA Service Catalog R14.1 environment?

    May I ask you for future questions you might raise in the Community, to please first mention the product&release?

    To be able to search in the right direction for you there after?

     

    Thanks in advance for your understanding and kind regards, Louis.



  • 4.  Re: Remove "High priority" flag when adding a note

    Broadcom Employee
    Posted Jan 20, 2017 08:21 AM

    Good Afternoon Salavtore.

     

    This is then the full-step procedure:

    1. When not existing already: Create folder %USM_HOME%\filestore\custom\explorer\request\common
    2. Copy file "request_notes.xsl" from folder %USM_HOME%\view\webapps\usm\explorer\request\common into the new folder(step 1).
    3. Open the file with e.g. notepad
    4. Add comment lines as shown below:
    <!--
                <tr>
                  <td colspan="2" class="fieldvalue">
                    <input type="checkbox" id="importance" name="importance" value="1"/>
                    <label for="importance"><xsl:value-of select="$request.notes.content/high_importance_level"/> </label>
                  </td>
                </tr>        
    -->
    5. Save the file
    6. To activate this change, perform these steps:
    - Stop the CA Service Catalog services(Accounting and Catalog)
    - Empty/clear the %USM_HOME%\view\translets folder
    - (re)move the %USM_HOME%\logs\*.log files
    - Clear the browser-cache
    - Start the CA Service Catalog services(Accounting and Catalog)

     

    Kind regards, Louis.



  • 5.  Re: Remove "High priority" flag when adding a note

    Broadcom Employee
    Posted Jan 20, 2017 10:31 AM

    Again, a Good Afternoon Salvatore.

     

    With my apology upfront, the changes I proposed earlier, do indeed 'hide' the 'importance' section, including the checkbox, on the notes-editor of a CA Service Catalog request.

     

    However, after further testing, it seems/appears that the 'background coding' does not add any comment text anymore.

     

    So, please be careful with implementing this and fully test any 'notes' action in the requests.

     

    Thanks for your understanding and kind regards, Louis.