I'm creating an App using PowerApps and i have a flow that uses data from my PowerApps SQL database.
This flow creates a .lbl file which i can then print as and when necessary.
The issue i have is that the data passed to the flow to create the file includes a Photo (Image) that's stored in an Image data type field within my SQL table.
The Photo doesn't print on the label, I've used Labelary viewer as an example, this is attached.
Any ideas where I'm going wrong?
Related
I have a connector that selects data from an external database in Bonitasoft, I was able to assign the result of this select to a process variable and display the contents of that variable in the UI Designer in an Input type field, however I need to display this in a table, as I configure This in the UI Designer to display the contents of my process variable in a table, if possible show the step by step thank you. Another thing as I can also pass the contents of my connector to a business variable and then display in UI Designer also if needed
First of all I want to draw your attention that using business or process variables to store data already stored in an external database will lead to duplication.
Recommended solution would be to use a REST API extension (such as REST API SQL data source) to query the data from the external database and use this REST API extension in the forms.
Now if you are ok with duplication of data you can refer to an example I create that demonstrate how to set process and business data with PostgreSQL connector output and then display the variables in form table widgets.
I highly recommend to use business variable and if possible consider migrating the data from the external database to the business data database.
I have a shiny app
where I upload a csv file
and then render it in UI using renderdatatable.
Now, I take the uploaded file as a a dataframe annd save it to a rdata file.
If the user interacts with the application again
I would like to load the csv file from the file system using renderdatatable.
To accomplish this I just use the load function and then call the dataframe.
I would like to know if there is a similar implementation on the same
A few things unclear here are when you say user interacting with the application again, do you mean a reactive response like changing a value in a text box or dropdown and accordingly re-displaying the contents of your dataframe; or a completely new session where the user wants to retrieve the previously viewed data.
If it is about a reactive response, then once the csv is read, you could access it by calling it with the input object - input$file1 or reading the temp location where the uploaded file gets saved (eg tmpdir())
I'm working on a simple delphi program that will get the data from a RS232 barcode reader and copy it to wherever the cursor currently is (if it's an editable field). Specifically I will have to make this work with a web broser to fill a form.
The barcode reading part is ok, I get the numeric data back, but I'm stuck on how to find the correct place to paste it. How can i get the current cursor position and send the data there?
Thanks!
Edit: the user will open a form inside a webpage where one of the fields (<input type="text">) is for the barcode. When they pull the trigger on the reader I would like to have the field filled
In my app I have an image for a user profile that a user can obtain from the camera. I do not want to manage an image outside of core data since I have a user object that manages all other data in the object very nicely.
What data type do I store the image as?
Does anyone have an example of where and how to implement setAllowsExternalBinaryDataStorage? I am not able to find an example.
Thanks!
You are on the right track. You want to store it as NSData. When you open the core data model gui (the one where you have a visual graph of your core data model) -- Select the attribute, then on the right - where you would give it a type and default value and such -- there will be a check box that says almost exactly what you want.
Check that box and Core Data will automatically use (and manage) the external file to store the data object.
My app uses Core Data to store 6 attributes for each entry as well as an image. I have several users asking for a feature where they can print out what they've entered. I can export the core data entries to a .csv file, but what about the images? cvs isn't pretty for the common user. They'd have to pull it into a spreadsheet app (if they have one) and play around with it to make it usable. But there's no way to export images into a .csv file.
What I'd really like is a way to push a button and have the app generate a report or a .pdf or something that they can email to themselves, or pull out of iTunes and it'll be formatted in rows with the entries, attributes and the images.
Any ideas? Can anyone point me to something that I can pass my core data attributes (6 text strings and an image) and output them to a pretty .pdf or webpage?
For this requirement, it should be fairly easy to create your own extremely simple HTML templating method.
Pick one sample entity and create a HTML page that formats it the way you want. Replace the actual data from the entity with placeholder text strings that you can search for at run time. Copy this template into your project. When the user presses the button, open the template, merge in the actual data, and save the result as a new HTML file or mail message.
If you want something more flexible, try searching GitHub for "HTML templating" or look at http://mattgemmell.com/2008/05/20/mgtemplateengine-templates-with-cocoa/