Populate Word Document From Powerapps App Input via Sharepoint and Power Automate - ms-word

I'm working on an app for my company and I'm a bit stuck.
What I'm working on uses app input to build a quote form using various inputs throughout the app. Everything is working fine, the app is working and it generates the quote using the fields in my Word template.
What I'm stuck with is trying to get a signature onto the end of the quote, I have a list in Sharepoint with Name (Text), Position (Text) and Signature (Image) columns. I've got this working from a dropdown in the app currently that filters a dropdown based on position (Only includes one position in the dropdown).
I can insert an image into the app and get the image to show using a lookup but ultimately I want to be able to load the signature image into the Word document based on user - This is currently on dropdown for testing purposes but in the future I will link it to who is actually using the app.
I have a flow in power automate which populates the word doc using the Powerapps details and that all works great apart from when I try to add an image and the error appears that it's looking for a jpg or png. The image files are stored on the sharepoint list as jpg so I'm not sure where I'm going wrong.
Tried copying the lookup value that loads the correct image in powerapps to the relevant power automate call-out (Works with all text)
Also tried inserting an image into the powerapp using the lookup (This works and displays the correct image) and referencing the .Image contained here

Related

Blue prism Calculator by fetching excel sheet

I wanted to launch calculator application in which we have to fetch value from excel and update the result back in the excel sheet.
Automate the process using windows application type available in the automation tool.
What exactly is your question?
If you are a beginner and want to know how to start, here you go:
To launch and work with calculator(windows) application - use object studio.
To work with excel ( to read and write back to excel using MS Excel VBO provided by Blueprism).
Create separate action pages (for addition, subtraction, multiply etc.,) in object and publish them and then call those published actions from process studio using Action stage (by passing input values read from excel)
If you can share your exact question - I will be able to help you out.

Crystal Reports issue with Dynamic images from a web service

I have a report with two dynamic images defined by database fields.
One is a location on our intranet :
ex: \<folder>\image.JPG
the second is being pulled from a web service :
https:////TraverseImage.ashx?parcel=312531800000010860&card=1
I followed this excellent walkthrough :
http://www.cogniza.com/wordpress/2010/03/15/crystal-reports-dynamic-images/
which suggests "set the formula’s text to the name of the formula or parameter field that will contain the image’s URL"
during design time both images display perfectly. When running the report or when changing parameters, the first one from the hard drive works perfectly, but the second one from the web service does not update. The only way to update it is to delete the image, and start over. I have put a hyperlink on the one from the webservice, and it correctly links to the image I want to display.
I am needing this to stay as a native .rpt and not embedded with VS.
I appreciate any suggestions, or comments.
Mark
Crystal dynamic image paths don't support https. Don't blame me; I'm just the messenger.
But you can solve this by using one of the 3rd-party UFLs listed here.
One of these UFLs allows you to use the graphic location expression for the image in Crystal to on-the-fly download an image from a given url, save it to a local file, and return the path to that file.
As added advantage, it can also resize the image to avoid a known memory consumption issue when Crystal is forced to resize images.
Is the path http or https?
If https you can use a UFL to solve this.

Image Thumbnails in wysiwyg editor

Is there a way to have directus insert links to thumbnails instead of the original full-size image when using the wysiwyg editor?
Context:
We have directus configured to use S3 for file uploads. Our backend directly connects to the directus db to fetch data and return it to the client in whichever form it is needed.
Now for the wysiwyg editor all html it generates is fine. However, images inserted with it always link to the original image.
In our case the client is a mobile app. Saving bandwidth with thumbnails is important because the app is used a lot without wifi.
I'd like to avoid having to parse the src tag and replace it with a different link. Mainly because it is not a simple search and replace, as the link contains the location on s3 (uuid), not the id that directus uses for thumbnails (private hash) - so I would also need to query the database a second time.
EDIT: I'm actually doing the search, query db, and replace (Optimized a bit by collecting the links, then going to the db once in a big query, then do the replace). I haven't found an easier way of doing it.

Input field data is visible to the user but apparently invisible to Chrome Dev Tools? How can I get at it?

Since I know Cypress, I offered to help a friend screen scrape data out of a legacy system for which he no longer has database access, but I seem to be at a dead-end.
The PHP code fills the form fields somehow, and I can cut'n paste from them into an editor but, when I try to automate that, the input field's innerText is always empty strings. I can use Dev Tools to search the DOM and find the text of the field labels, but searching for the input field text turns up nothing.
Is there really no way to get at that data?
How can Chrome be unable to find data that it is actually displaying?
Is this some kind of security barrier?

Generate multiple sheets in one pdf file

I am trying to generate a pdf from a Tableau workbook which has two sheets using the url method:
E.g: https://TableauServer/views/workbook/sheet1?:format=pdf&parameter=value
I am doing this in a program which will issue the url request to the url. The url works fine for one sheet. But the problem is how to generate one pdf file with both sheets in it?
If you first put your two sheets into a single dashboard and then use the URL for the published dashboard (still using the format=pdf parameter), this should work just fine.
We know it's possible because within the Tableau pages itself if you download a PDF it gives you several formatting options, including the option to put all the worksheets in a workbook into a single PDF.
I couldn't find any documentation on it though. What I ended up doing was looking at the network console in the browser (usually F12) when I downloaded the PDF from the browser by clicking the Download button. That showed me the URL end point and the JSON body the server expected in the request payload.
The endpoint URL wasn't too cryptic and ended with "commands/tabsrv/pdf-export-server". The challenge was to take the JSON in the request payload and find the right settings to get it into a single PDF.
This method is a more technical approach and requires very little coding skills; any language that has functions for http calls will work (I use python for it).
If you don't mind doing it outside a browser, tabcmd has lots of functionality to control PDF generation at the command line.