I want to show image of some person in display image item. I have pl/sql funtion in which i send imageDate and personId, and function returns blob. How can i display image using this function that returns blob or is there some other way to use return value from function an show it as image?
Related
I have an interactive/classic report with a column that shows images.
The row in the report can be edited as usual with a modal dialog.
But when I replace existing image it is not updated in the report even though all other fields do. I can also see that the numerical representation of the image is getting updated. Only the visualization of the image stays the same.
Also, when saving and refreshing the whole page, the correct image is showing up.
The query that creates the report:
select
ID,
APEX_ITEM.CHECKBOX2(15,p_value => ID) as "Select",
DESCRIPTION,
dbms_lob.getlength(BLOB_CONTENT) as "Image"
from UPLOADED_IMAGES
The image column Type is "Display image"
Why the images don't get updated on region refresh?
Thanks for the help
So I changed the query that creates the Image column to:
nvl2(BLOB_CONTENT,
apex_util.get_blob_file_src('P3040_BLOB_CONTENT',ID,null,'inline'),
null) as BLOB_CONTENT
As written in several guides
(Also need:
HTML Expression --> <img src="#Image#" height="75px">
Escape special characters --> 'No')
and now the refresh works. Still don't explain why the other way doesn't, but it's good enough.
I have a problem using a dynamic action refresh in an interactive grid.
I have a field of type popup lov, when I choose one of the items in the list, I am performing a query to fill a collection, and then I do a refresh with a dynamic action, so that the data is reflected in the grid.
But at the moment of doing it, this happens with the field:
enter image description here
and in the console it shows me the following:
enter image description here
I hope to have your help, thank you very much.
I wanted to know if there's a way to have a parameter that holds an image.
The problem: I have 10 PBIX, each one containing over 20 screens. every report has the clients logo. it is an image let's say the client changed his logo, that means I'll need to change the logo 200 times!! (10 PBIX X 20 screens).
Wanted solution: is there a way to hold a parameter that will contain the logo, therefore changing the logo only 10 times (for each PBIX) that will be a HUGE improvement for my time and productivity. sorry for not including pictures this is to keep my client anonymous
Thank you!
Here is how you can achieve your requirement as stated below-
Step-1 create a custom function in Power Query as stated below. The function is taken from Here and you can check this blog for more details if you are interested.
let
BinaryToImage = (BinaryContent as binary) as text =>
let
Base64 = "data:image/jpeg;base64, " & Binary.ToText(BinaryContent, BinaryEncoding.Base64)
in
Base64
in
BinaryToImage
Here below is the image for the custom function-
Step-2 create report wise folder in your local directory and keep your image there. I am considering one folder here, but you can do your own once you get the workaround.
Step-3 Create a data connection for Folder as shown below and point to the folder you kept your logo/image-
And now you will have a table as below with one row as there are one image only. I named the table as PBI_Images.
Here basically Content column holding the Binary data for the image and we have to convert it to Base64 using the Function we created earlier.
Step-4 Now lets Invoke the function in our table. Select the table and do what shown in the below image-
Now you have a new column with data like below-
Step-5 Get back to report by clicking "Close & Apply" button.
Step-6 Download the following App from AppStore-
Step-7 Just add the new downloaded visual to your report and put the newly created column to the "Image URL" field as below-
Step-8 Now add the Image visual to all your report pages and tag the Image URL as stated in step-7.
You are all done now. Just Change the Image in your source file keeping the same name and after that refresh your table (PBI_Images my case) and you will see Image changes everywhere in the report.
Finally, if everything works expected, you can first try will all logos from one single folder. If do not work, go for folder per customer as mentioned earlier.
I've created a function from a query that fetches the weather forecast from darksy.net API.
Basically, I pass the latitude and longitude as a single parameter to the query and I get a weather forecat.
The parameter is entered as text in the form of "lat,long". Eg: Lisbon is 38.736946,-9.142685
Everything works fine, the data is loaded into Power Query. However, when hitting "Close and Apply" button I get the error:
It seems the URL is adding E2%80%8E before the parameter.
I tried 2 differente APIs (darksy.net and http://api.openweathermap.org) and the problem happens in both.
Why is this? Can anyone help?
when there is no sufficient data to draw chart google chart api returning empty chart but i want to display my message instead of empty chart,i have searched and found this How to show an Empty Google Chart when there is no data?
but i'm not able to find how to show my message instead of empty googlechart?