I have a process that generates a set of HTML files and subfolder containing CSS/Javascript files.
I thought I could use the publish-pipeline-artifact to publish this HTML report and have it displayed but it doesn't work.
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/publish-pipeline-artifact?view=azure-devops
Is there another way ?
Azure DevOps can understand a report if it is in the format of a format called TRX.
Once the report is generated, you can upload using the Azure DevOps workflow function
For html report, one way would be deploy the html files to a web page which allow iframe embedding and then use "Embedded Webpage" widget in Azure DevOps to show the content.
I think you meant something like what in this feature request is asked.
Related
I'm looking for some recommendations on a solution to build dynamic PDFs using salesforce object data. We currently have a layout designed in photoshop, that we're looking to import into Salesforce and fill in various snippets/images based on data that lies within an object. The final product should come out as a PDF
I started building this using Adobe XFDF. I exported the PSD as a PDF and created a fillable form from it. This was then populated from an XFDF file generated from Salesforce. This does work but the design issues with fillable forms, requirement for acrobat pro on every system that uses it and the lack of support for referencing file templates that are not local have killed this. One of these issues alone wouldn't be deal breakers, but all 3 combined are too much to overcome.
While this is mostly all sorted out on the Salesforce side, I'm not sure of the best way to proceed with this when it comes to PDF generation, here are a couple of ideas that might work, but I don't have enough experience to be sure:
Generate HTML/CSS File from PSD file, upload to salesforce, modify html file within salesforce, send to PDF generation API - adobe api looks promising for this, but can I send over html and css files together to generate a single PDF?
Use Salesforce PDF tools to generate PDF, will need to modify visualforce page to the same design as reference design in PSD.
Use some sort of third party PDF generator tool that will allow me to reference my current design as a template.
I'm open to any suggestions, Thanks!
In salesforce, PDF can be generated without using any app. Check out the official document by Salesforce.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_output_pdf_renderas.htm
A quick start guide How to generate PDF in Salesforce
It does not require any purchase or separate license. If you are looking specifically an App, it can be found on app exchange.
https://appexchange.salesforce.com/appxSearchKeywordResults?keywords=pdf%20generator
I would like to open/select the file from SharePoint location, the file dialogue box(HTML file upload feature) should open with a list of files from the SharePoint directory instead of pointing to the system directory. is it possible?
Currently, the dialogue box opens with the current system directory file location.
Is it feasible with all browsers?
Yes, it is feasible.
However, you might need to custom design the interface.
You would need to perform a rest API call to SharePoint document library to show the list of files. You can use Microsoft Graph API to make the calls and extract the details.
I am trying to automatically convert some Microsoft OneNote files to PDF to send as a daily email attachment. I have thought of two systematic solutions but need some help in finding the right tools:
Find an application that may be programmatically called (via a Python script e.g.) that will convert a Microsoft OneNote file to a PDF.
Find a way for OneNote to automatically save files as PDFs every time it auto-saves.
Is anyone aware of tools available for either solution?
See my answer to your other question
The approach would be to get the pages content with
./me/onenote/pages/1-1c13bcbae2fdd747a95b3e5386caddf1!1-xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/content?includeIDs=true&includeInkML=true&preAuthenticated=true
and then render the html on a canvas with javascript/jquery.
render ink with InkMLjs
and then use a library to convert the canvas to a pdf for example with canvas2pdf
Another approach might be something like Automator for osx. You could get the pages of interest with the microsoft-graph api, open them in a web browser using applescript and when the page has finished rendering -> print -> "Save as PDF"
We have several reports that use .png images for company logos in the header of the reports.
We are deploying reports using the SQL SSRS 2010 webservice. The idea is that the deployment must be done automatically with a script that invokes the SSRS webservice, and it must be 100% unattended
So far, we've successfully uploaded the reports, however, we are not sure how to upload the .png images
Is there any of the webservices methods that can accomplish this? Or is there a way to copy the file directly to somewhere
If you have a single file, just upload it directly from SSRS. If you have multiple files, create a new Reporting Service project and add all the images to that project and upload all those images to a new folder Images in SSRS. This is really simple and I would recommend this.
Quick references:
https://www.tutorialgateway.org/upload-file-to-ssrs-report-manager/
Bulk uploading images to SSRS
Hope it helps.
As we all know, the infopath forms service residing on a sharepoint server generates a web site each time we publish an inforpath form template to the sharepoint server.
Here is the question: how does sharepoint do that. Is there any way for us to do that programmatically via some kind of api provided by MS?
In fact, what I need to do is getting all the html, js, css etc. files and applying some kind of operations like deleting some divs or insert some html code into the particular web page. I have come up with two ways to do this.
Generating the web page via sharepoint api and apply those operations at the same time
Extracting the web page files from the IIS server and apply those operations
I am totally new to this kind of work. All in my mind is that each time we right click on a web page in the browser and choose to save the web page, the browser gets some of the files we need to render the web page and makes it possible for us to browse the web page offline.
httrack
WinWSD
and tools like that seems to work fine with extracting html files from online web pages but not that well with js, css files.
Now I am trying to dig into the chromium project for some kind of inspiration, although whether it helps or not is unpredictable.
Any kind of advice will be appreciated.
Best Regards,
Jordan
Infopath xsn files are just zip files with a different extension. you can rename the extension to .zip and extract out the files. you will find a number of files that make up the form. the two main ones are the .xml and .xsl files. the .xsl will have the html to generate when applied to the xml.