How to show image in stimulsoft - stimulsoft

I store image path in database and use BeforePrintEvent event to show image in stimulsoft report and specify following code in the event:
Image2.Image = Image.FromFile(my Procedure Name.path column name);
My problem:
There are many text box and an image in my report.
my store procedure return many row and every row information show correctly in every report but first row path column in query show in image for every report.(image control in all reports show one image while it show differnt image)
my query return different path for every row.
How can I resolve it?

Which Stimulsoft product do you use?
It's necessary to see your report to help you.
You don't need to use BeforePrint event. You could just set the Data Column property of the Image.

Related

How to upload the Images in one drive (excel) to Power apps?

I am trying to create an app with the list of items and their images. I have saved the Images in a folder in one drive and created and excel in one drive with four columns (product id, product name, dimensions, and Image path) , please check the below image. However, when I upload the data and gave the data source it is not displaying the image in the layout. Is it because the path format is not correct? Please check the below image and let me know where I am doing wrong. I need the Image to be displayed, I have checked many forums but could not find the solution.
Please check the below powerapp screenshot as you can see I have given the correct data souce
Per my test, when we connect the data source with an excel table in onedrive,make sure the Image value is map to the related excel table column as shown below:
More information for your reference:
https://learn.microsoft.com/en-us/powerapps/maker/canvas-apps/add-images-pictures-audio-video#add-images-from-the-cloud-to-your-app
----------------------------Update:-------------------------------------
To avoid error, you could copy the direct link of the image in details panel:

Pentaho Report Designer: Change column value if output-format is excel

Helo, I have report, where I show some photos. However, if the report is generated as Excel output, I don't want to have the photos there, because the size of generated file is too big in that case.
Because of that, I want to have those columns empty, if the output format is Excel (or, even not HTML would work). I have tried to do it through excel:formula in Attributes section of the cell, but it did not work (I guess, it is because its the formula of that excel cell.
I have also tried to create Open formula with IF statement, but wasn't able to find any way how to give it output-format as an parameter.
Is there any way how to solve this issue? How to change value of a cell depending on output-format? I been trying to find it in Pentaho documentation, but no luck so far..
Select the element you don't want to show and under size & position -> visible, add an OpenFormula by clicking the (+) and add a formula like this:
=NOT(ISEXPORTTYPE("table/excel"))
The available export types can be looked up at Master Report -> Attributes -> output-format.
When previewing as e.g. "HTML" and "Excel", the output format will automatically be set accordingly, so you can simply hit preview without changing that value every time.

Capture + Save Screenshot in Pivot table using different filters

I tried to record a macro to save screenshots of a selected area from my Pivot table using different filters.
But when I tried to re-run, it didn't return any pictures.
Is there a way I can create and save snapshots (and save as picture without links), so that whenever I change the filter, it creates another snapshot of the same area?

Jira is not recognising my upload from CSV

I'm creating a CSV template for some analysts, they would need to fill it and I then do a bulk upload to Jira.
I want to upload them as defects. The issue I'm facing is:
I have a label when filling out a defect and I want to select one of the options, so for example I have a label called 'Label A' and it has 3 options in a list.
In the excel file I put the top row as 'Label A' and under it for one of the entries I put the full name of one of the options (Displayed on JIRA) for example 'Option A'. But I write this in the excel file as : Option A
But after uploading it does not recognise this and returns a validation error.
This is the same for a tick box label, for e.g. 'Label B'
However any text that I put up, (Something that requires free text and is not a multiple option) like for example 'Summary', I would put any random text e.g. 'abcd', and this will validate fine.
So my question is, what am I doing wrong with the way I'm formatting my CSV for when I upload answers to multiple choice parts of a defect?
I think if you can create a sample issue (like you need to be upload) in jira then you can export(Export all fields) that created issue and analyse the output excel file. then you can understand the input format that jira required form your CSV file.
UPDATED
the other thing you can do is read the JIRA log file it will tell you the actual error occurred some times.
are you export your created issue with this option?..see screenshot below..
The approach will depend on the field types you are using.
For example, if you were loading a simple text field then the text in the CSV file will just be inserted in to the text field.
If, however, you are populating a custom field that is represented by a radio button or a drop-down listbox then you will need to use the field mapping option that is offered during the CSV import.
Say you had a radio button that said either 'true' or 'false'. You would tick the mapping option for this field during the CSV import and configure it to map true -> true and false -> false. You can also do this mapping in the CSV file itself.
You can see more details on this link:
Atlassian - Importing Data from CSV
The approach you can follow is as below:
Count the number of labels in the Issue you are trying to import.
Every label should go into its own separate column for it to be imported properly.
Eg:- If there are 5 labels for an issue, create 5 Labels_CSV(or what suits you) column in the CSV header row and put the 5 labels in the data row.
Once the CSV is created, try to upload it with your existing config file which has mapping for Labels_CSV --> Labels.
Voila, the multiple labels will be imported properly.
Let me know if you have any queries.

Show Image when column is clicked in excel which is saved in another sheet

I want to store some data in a row related to particular image and Image want to store in different sheet but in main sheet I want one column and when I click on this column then it will open the image.
This will save the space and all the data will one place.
The HYPERLINK function (Excel documentation, Calc documentation) can provide clickable links from one document location to another document location. It won't link to the images per se, but rather to the cell in (or near) which you have placed the image.

Resources