Word Retriever: XHTML <BR/> Tags in word report - V7.3.3

Word Retriever: XHTML <BR/> Tags in word report - V7.3.3


Scenario:

User reports that BR Tags <br /> appears in the Keyword section in the Word report.


 

Root cause:

The <br /> tags in the keyword, generally shows up when the contents for the keywords (EARNING DRIVER, RISKS & RATIONALE etc) are copied from XHTML source (in the previous reports) which gets captured in the database. Currently with DBS templates, only HTML codes are handled. XHTML codes, can be handled by inserting new macro codes. This needs to be done in both the word report and in the base template as well.

 

Resolution:

To remove the BR Tags from the keywords:

 

1)       Open the word report shared by the user.

 

2)      Access the Macros Editor screen (by pressing Alt + F11). Expand the project tree of the Word document to find the macro codes.

 

3)      Delete the ‘Module2’ Macro under Modules in the left pane (as shown in the below screenshot) :

 


 

4)      Copy the below macro base and Save it (named Module2.bas) on your machine. Please do not change the name.

5)      Import it to the Macros Library project of the word report. Click on File and then click ‘Import File’:

 

Browse and locate the saved macro file on your machine and click ‘Open’:

6)      Save the word report and refresh the report for removal of BR Tags.

 

7)      Now download the base word template from Research Library >> Update Word Templates under Administration section.

 

8)      Create a Backup copy of the template.

 

9)      Follow Steps 1 – 6 (inclusive), save the template and Upload back to the system.

 

10)   Generate a new Word report on the same stock and confirm the BR tags are removed.

 


Copyright

This document is the property of ANALEC and its subsidiaries. Under no circumstances, should any of this material be copied, transmitted, forwarded to any individual and/or organization without the explicit approval of the ANALEC and/or any of its Group companies. This information is strictly private and confidential between the ANALEC and their Customers. Any unauthorized distribution of this document is illegal.

© ANALEC. All Rights Reserved  

    • Related Articles

    • Steps to set-up Report Type - V7.3.3

      Please follow the below steps to setup Step 1: To update the Report type settings/attributes, login to ResearchWise Webapps>>‘ResearchFlowSysAdmin’ tool using the ResearchWise credentials. Step 2: Navigate to ‘Report type’ under ‘Report type ...
    • Steps to add new Word Template - v7.3.3

      Please follow the below steps to Add new word Template. Step 1: Login to ResearchWise WebApps and click on ‘Report Type’ option to select a particular report type. Step 2: Select report type name ‘Sector Report’ and select the ‘research category ...
    • Upload word template in the system - V7.3.3

      1. Login to ResearchWise Web Apps -> ResearchFlowSysAdmin and click on ‘Report Type’ option to select a report type. 2. For example, select report type name ‘Company Short Note’ and check the ‘research category description’. 3. Then Go to ‘Research ...
    • Updating and Re-sending Report PDF - V7.3.3

      Steps to replace PDF for Research link In case, the distributed research report contains any error (wrong information, typos or any other error) we can replace/swap the PDF report by following the below steps: 1. Download the word file from the ...
    • Update and Resend a report to vendors - V7.3.3

      Replace PDF for Research link In case, the distributed research report contains any error (wrong information, typos or any other error) we can replace/swap the PDF report by following the below steps: 1. Download the word file from the Dashboard by ...