PDF from a screen - Power Apps - powerapps-formula

Is there a way to make an icon invisible when generating a PDF from a screen?
Set(Arquivo_PDF;PDF(Screen7;{ Size:A4; DPI:100}));;
Navigate('GERAÇÃO DE PDF'; ScreenTransition.Cover)
I can't resolved.....

Related

Disable hyperlinks in generated PDF using Puppeteer

Is there a way to disable auto generated hyperlinks from pdf. For example, I have a string https://example.com/, after converting from html to pdf using Puppeteer, it automatically converts the string to an hyperlink, which does not exist.
Is there a flag or something in Chromium or puppeteer to disable auto linkification.
Puppeteer does not add any links to the PDF document that are not actually present in the page. It is very likely your PDF viewer that is adding these links.
Try it yourself.
Upload your PDF to this viewer (that uses PDF.js), button is in the top right. This viewer does not add any links to the document. If the link is not clickable in this document, your PDF viewer is adding the links.

Lotus notes - how to view forms as HTML?

I have just installed lotus designer 9, and I created a new project with a notebook template. Now I am looking through forms, views, pages etc. and I can see all the controls, at the bottom I have so-called 'programmers pane', but if I wanted to put some of my own html, or adjust a little bit the existing one, I cannot.
So my question is - how do I enable html view? When I open a form, and go to View, I can see that there is an option HTML Editor, but it is grayed out, what am I missing?
HTML is not the storage format for forms, behind the scenes. Forms are stored in a proprietary rich text format, and conversion between that and HTML is not exact. So there is no "HTML view" of a Notes form.
You can type HTML text onto the form, highlight it, and designate it as "pass-thru" (Menu 'Text > Pass-Thru HTML'). If accessed via the web, the exact HTML you enter here will be included in the HTML sent to the browser. The Notes client will also convert pass-thru HTML to Notes rich text for display, provided this option has been enabled in the form properties.

Images not resizing in WYGWAM/Safecracker/Channel Images entry form

I have a blog that uses Channel Images to upload and manage images. The content area is a WYGWAM field. I have a few sizes set up in Channel Images to allow the user to adjust the layout inside their content (landscape left, landscape right, portrait left, portrait right) when adding images to the WYGWAM content field. I then have two other sizes: thumb and gallery. These are for the image gallery that appears below the content. Thumb is set as the small preview in the field settings, and gallery is set as the big preview in the field settings. It all works great in the CP publish form.
However, when using the Safecracker form things don't work as well. I can select existing images, but when I add a photo to the content field (WYGWAM) it does not resize it properly. I do get the dialog box and options I want to choose from, but that choice is not being saved.
What happens is the image is added to the WYGWAM content using the size I have selected in the field settings as the big preview. I tested this by changing what size is selected for "big preview".
However, if I upload a new image and select a size it works fine. The issue is only with existing images (ie uploaded previously for other entries).
Is it possible to use sizes in Channel Images/safecracker/wygwam?
It was a bug in the most recent build. The developer has sent me a patched version that is working.

Force Save As box in Chrome / Safari when clicking on a Data URI anchor link

Export This
The above is a Data URI containing a base 64 encoded csv data export. On my app's report page, I embed the export within each page view so that an export doesn't require another trip to the database.
In Firefox 3, clicking this link opens a save-as download dialog box. Clicking it in Chrome 9 does nothing. I can right-click-save-as in Chrome, and it will write the decoded csv to a file. Clicking it in Safari opens the decoded CSV data in the browser window, which I can then save manually.
In IE... who cares, am I right?
You can reproduce this to test for yourself by copying that <a> tag in it's entirety into a blank file called test.html and open it in each browser. It acts exactly the same way as it does in the context of my app.
Question: Is there a way to force a Save As dialog to pop up, as in Firefox, when the user clicks the Data URI link? Or some other way to get around this inconsistency?
In theory, Firefox, Chrome and Safari all support Data URIs. In practice.......
Unfortunately, application/octet-stream doesn't work too well in Safari (at least Safari 6). It just saves the file as "unknown" with no Save dialog box. To my knowledge, there's no cross-browser way to do what you're trying to do except to bounce the content off a server.

Web image display in iPhone app

I am new to developing on the iPhone so am sorry if this is an easy question, but it has had me stumped for a little while.
Basically the app displays data retrieved from an XML feed. In that feed is an element that contains the path to an image. eg http://www.myserver.com/myimage.jpeg.
I want to be able to display that image in the list view of my iPhone app.
Most importantly, I don't want to stop the list drawing for each image, the rest of the data should be displayed immediately and then each image downloads and displays as quickly as data speed etc make it available.
What is the best way of downloading that image and displaying it?
Ideally can someone point to some working example code.
Thanks
Stephen
Displaying the image: you could create a UIWebView and just point it to the path - and then it's fully zoomable too.
Displaying in the list view:
//Somehow download your image...
cell.image = Your Image

Resources