IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
47 stars 25 forks source link

Not able to open DBB metadata file (BuildReport.html and BuildReport.json) in browser #421

Closed ratnamGT closed 2 weeks ago

ratnamGT commented 2 weeks ago

I have created DBB metadata reports in Mainframe USS file path and exported it through DBB CLI .BuildReport.html and BuildReport.json files are in my Mainframe USS path . I am not able to open the files in VScode USS .It is opening in binary format in VScode editor . I want to open it in the browser to see the metadata and dependency reports. Could you please help me on this?

benjamin-t-santos commented 2 weeks ago

Hi @ratnamGT. Which UI are you trying to use to open the files (Zowe Explorer, z/OS Resources Table, etc.)? If you could attach a screenshot or video that would be helpful.

ratnamGT commented 2 weeks ago

@benjamin-t-santos Thanks for your response ,I am trying Zowe Explorer ,I opened the BuildReport.html with encoding ISO8859-1 and it opened in HTML source code . But I want to use that file in browser from Zowe Explorer . I am attaching the screenshot. builreport screenshot from zowe editor builreport screenshot from zowe editor

benjamin-t-santos commented 2 weeks ago

Thanks. Zowe Explorer is a VS Code extension published by Zowe. It is open-source and not maintained by IBM. If this is a feature you would like to see in Zowe Explorer, I would recommend creating an enhancement request on their repository: https://github.com/zowe/zowe-explorer-vscode

When a USS file is opened in Zowe Explorer, it is downloaded locally to a temporary folder and opened in a new editor. You can see at the top of your editor the path to this temporary folder. You should be able to open the HTML file in a browser from there. Another option is downloading your files from USS using Zowe CLI.