How to add a link to a report inline image?
Hi,
I use apex 3.1.2
I have made a report where I show a small inline image. The image is stored as a blob in the db (IMAGE:XXSMALLPICS:PICTURE:ID::::::inline:Download). It works fine, but I would like to add a link to the small image so that if I click on the image a larger image shows in a popp up window.
How can that be done?
I don't succeed to add any type of link to the image.
/Erik
Hi Sam,
Firstly, you have an error in your SQL statement:
SELECT FILE_NAME,
'<img onclick="javascript:showImage(this);" >src="#OWNER#.DISPLAY_IMAGE?inID=' || NVL(IMAGE_ID, 0) || '" >height="50" width="50" />' IMAGE
FROM A_IMAGES
ORDER BY FILE_NAMEYou have an extra > - it should be:
SELECT FILE_NAME,
'<img onclick="javascript:showImage(this);" src="#OWNER#.DISPLAY_IMAGE?inID=' || NVL(IMAGE_ID, 0) || '" height="50" width="50" />' IMAGE
FROM A_IMAGES
ORDER BY FILE_NAMEFor the Region Header - I just click on the report in the page definition and scrolled down to the setting called "Region Header". Then I pasted in:
<div id="imagediv" style="display:none; position:absolute; top:0px; left:0px; height:0px; width:0px; margin:0px; padding:0px; border:0px; background-color:whitesmoke;" align="center" onclick="javascript:closediv();"><table style="border:0px; padding:0px; margin:0px; width:100%; height:100%;" cellpadding=0 cellspacing=0><tr><td style="vertical-align:middle; text-align:center">
<img id="largeimage" src="" style="border:3px double darkblue;">
</td></tr></table>
</div>
<script type="text/javascript">
var iDIV = document.getElementById("imagediv");
var iIMG = document.getElementById("largeimage");
function showImage(i)
iIMG.src = i.src;
iDIV.style.width = document.body.clientWidth;
iDIV.style.height = document.body.clientHeight;
iDIV.style.display = "block";
function closediv()
iDIV.style.width = 0;
iDIV.style.height = 0;
iDIV.style.display = "none";
iIMG.src = "";
</script>If you go back to my page, you will see that I have added two screenshots (Page41ReportSource.gif and Page41RegionHeader.gif) that show you what I have done on my report.
Andy
Similar Messages
-
Crystal 2008 How to Add a stylesheet to a report?
Crystal 2008 How to Add a stylesheet to a report?
I have no idea where to start:
- Dont know how to link css to report
- Dont know how to format different fields etc
Please help.Hello,
Hit the F1 key in CR Designer and then search on StyleSheet and it will give you info on to.
Thank you
Don -
How to add two columns in OBIEE report?
Hi to All,
Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
Thanks in Advance,
ThenmozhiAssume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
Let me know if you are looking for something else.
Thanks -
How we add & grandtotal of sales order report in alv
hi guru how we add & grandtotal of sales order report in alv
regards
subhasishi subhasis,
since u want the grand total in ALV use the following code...
clear gs_fieldcat.
gs_fieldcat-fieldname = field.
gs_fieldcat-tabname = DB table
gs_fieldcat-seltext_m = text.
gs_fieldcat-do_sum = 'X'
gs_fieldcat-datatype = data type (Curr or Quant)
gs_fieldcat-ref_fieldname = reference field name
gs_fieldcat-ref_tabname = reference table name
append gs_fieldcat to gt_fieldcat.
hope this will work...
please reward points in case usefull
regards,
prashant -
How to add a link to your message
Does anyone know how to add a link to a message?
laptopman,
As Klaus1 posted, you can also use the Character Palette.
In the Palette, select View : Glyph > Glyph Catalog. You will find the , among others, there.
You can copy & paste, or position the cursor where you want the glyph in a document, highlight the glyph, and click on Insert with Font.
If the Character Palette is not in your Menubar, open System Preferences > International > Input Menu: Checkmark Show input menu in menubar.
To open the Palette, click on the Flag icon in the Menubar, and select Show Character Palette.
ali b -
How to add a link button in system form?
how to add a link button in system form in the edit text?
HI
see the following code
This creates an item "55" caption, and exittext ("550") and creates linked button "51" linked to "550"
oItem = otmpform.Items.Add("55", SAPbouiCOM.BoFormItemTypes.it_STATIC)
With oItem
.Top = 315 + 30 + 15
.Left = 12
.Width = 100
.Specific.Caption = "Többlet"
End With
otmpform.DataSources.UserDataSources.Add("550", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
oItem = otmpform.Items.Add("550", SAPbouiCOM.BoFormItemTypes.it_EDIT)
With oItem
.Top = 315 + 30 + 15
.Left = 120
.Width = 100
.Specific.DataBind.SetBound(True, "", "550")
.AffectsFormMode = True
.Description = otmpform.Items.Item("55").Specific.Caption
.DisplayDesc = True
End With
oItem = otmpform.Items.Add("551", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
With oItem
.Top = 316 + 30 + 15
.Left = 120 - 14
.Width = 13
.LinkTo = "550"
.Specific.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
End With
Regards,
J. -
How to add custom link to shopping cart
hello,
can anyone tell me how to add a link to the shopping cart page (rather than using the View cart link on the module_shoppingcartsummary)?
also, is it possible to customise the module?
instead of:
2 item(s), Total: £0.00 View Cart
i'd like to display:
<cart image> My Cart 2 item(s)
thanks and regards,
FrankI am getting pretty frustrated with all the broken links in here. Why can't you guys forward these deprecated links?
If the only results in my searches for help end in broken links to a decrepit website, then you erode any hint of professionalism here.
These links are only a few months old and yet youve shut them down without even a thought of who've you have left hanging.
We pay for this abuse?
Argh! -
Reg:HOw to add new charactersitics in standard report
hi all
HOw to add new charactersitics in standard report
regards
JK RaoYou need to copy the std report and make necessary changes in the copied report. SAP does not allow changes to std report. The technical details of the report can be seen by selecting from the menu Extras - technical information. Select the library and Report name. Copy the same using t code GRR1. Carry out necessary changes and SAVE. Before execution, you will have to specify the report group in which report needs to be attached. You can choose and existing group or specify a new one.
Regards
Rakesh Pawaskar -
How to add company logo in z report
Hi !
i want to know how to add company logo into custom report ...
generally we used below mentioned code for sap logo
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LIST[]
I_LOGO = 'ENJOYSAP_LOGO'.
ENDFORM. "top_of_page"
what changes we need to do to add company logo into custom report
Please guide
Regards
SheetalFirst upload ur required logo in SAp by t-code SE78.
Use teh above mentioned ALV code for the same.
Try to search on SDN for the u can find the full ALV code for the same.
..lakhan -
How to add search help to a report.
How to add search help to a report.
Hi
It can use the event AT SELECTION-SCREEN ON VALUE REQUEST:
PARAMETERS: P_FIELD LIKE ....
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FIELD.
* Here it needs to insert the abap code to call the search help,
* for example it can call fm F4IF_FIELD_VALUE_REQUEST
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = SPACE
SEARCHHELP = <SEARCH HELP>
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'P_FIELD'.
Max -
How to add .js link in custom list form through sharepoint designer 2013
hi friends
so far i was adding jquery code to script editor webpart in custom list form.
but i need to know how to add .js link in custom list form through sharepoint designer 2013
please help me.Hi,
We can add the "JS Link Property" in the “WebPart” node in the custom list form page through SharePoint designer 2013.
Here is an example for your reference:
<JSLink xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">~site/Style Library/js/custom.js</JSLink>
Noticed that, we should not lose the 'xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm' attribute.
Best Regards
Dennis Guo
TechNet Community Support -
how to add mail link in muse?
Just type the e-mail address in the Hyperlink control in the Control Strip.
-
How to add SAP BI or BEx Reports on Reports Work center link in WEB UI
Hello All,
I have question, How to add SAP BI Reports on Reports Work center link in WEB UI? I found an article on SDN but could not understand. Please provide all steps in detail.
Thanks,
BMWHi BMW325ci (I hope you have the latest model )
Here are the steps:
1. have the BI team create a webversion of the report. (not required when calling a query directly
2. create in SPRO --> CRM --> UI Framework --> UI Framework Definition --> Display SAP NetWeaver BI Reports in CRM the reports you want to display
e.g. BI Report ID Z_DYBE_GROSS_SALES_CUST_MAT
Long description Revenue per customer/materialgroup
BI Object Type HT Template 3.x (depending on your BI version)
BI Object Key ZWCOPALM01_PPS_REVENUE_ARTG_V2
BI System (when using the webtemplate, nothing needs to be filled)
3. create in SPRO --> CRM --> UI Framework --> Technical Role Definition --> Define Navigation Bar Profile
a. A logical link for each BI report.
e.g. Logical Link ID ZDB-ACC-DE
Type D BI report
Target ID DISPLAY
Parameter Z_DYBE_GROSS_SALES_CUST_MAT
Parameter Class CL_CRM_GEN_UI_BI_UTIL
Icon Name GC_ICON_REPORTS
Title Revenue per customer/mater.
Description Revenue per customer/materialgroup
b. Include in the relevant Report Work Center Link the logical links you have created in step 3.a
e.g. Group ID SLS-ACC-RE
LogLinkID ZDB-ACC-DE position 80
c. Make sure that your work center link is assigned to the work center
e.g. Work Center ID SLS-REPORT
GroupID SLS-ACC-RE position 10
d. Make sure that your work center is assigned to your navigation bar profile
at this moment the report is linked to a standard workcenter, which can be shown on the webui.
4. In your business role, you need to of course make sure that the flags on the workcenter entries are set on show in menu and directly.
This should give you the complete picture.
KR,
Micha -
How to add a button as a report column
Hi everyone,
I am trying to add a button in a report as a column, thus, as the button press, one of column at current row of the report will be filled. Does anyone know how to do it?
I knew I can do check box as a report column and create a button to process it But request hopes just one button for each row as result.
Thanks!
XWI am not sure what you are trying to do exactly. Adding a button is something you can do for sure in a report ( make the PK column a link and define the link image as a button ), but am not sur what you want the button to do, is it something like <edit> that when you click on it it takes you to another page (form) to edit that record info ? if yes then this is also doable for sure....let me know
Sam -
How do add column to a Crystal report 8.5
Post Author: Jsantos
CA Forum: Data Connectivity and SQL
Hi guys, I would like some help.
I have a VB Form in VB 6 that call a report made in Crystal report 8.5 and I want add a column of a SQL Server 2000's table
inside this report called reportSales
I already Add a table inside this report clicking in Main report,......."aDD database to report..." etc.
and drag this column called col_1 to report in group Footer
my Vb 6 code is below :
When I make a Debug the variable ls_Location received the new table that I added to link 1 field.
but tha happened when I load the report is that just appear 2 columns an not 16.
With reportSales
' Conect to SQL Call .Database.LogOnServer(DLL_CRYSTAL, ls_Dsn, ls_Database, ls_Username, ls_Password) '''' manage tables
For Indice = 1 To .Database.Tables.Count Call .Database.Tables(Indice).SetLogOnInfo(ls_Dsn, ls_Database, ls_Username, ls_Password) ls_Location = "dbo." & .Database.Tables(Indice).Name Call .Database.Tables(Indice).SetTableLocation(ls_Location, Empty, Empty) Next Indice Call .ParameterFields.Item(1).ClearCurrentValueAndRange Call .ParameterFields.Item(1).AddCurrentValue(m_cod_picking)
End With
CR.ReportSource = reportSales Call CR.ViewReport Screen.MousePointer = vbDefault
thanks!!!If you still have a working install you can use regedit to get the keycode from the Local Machine key. Other than that you'll have to find the original CD packaging where you'll find the keycode on the packaging. Or check with your accounting department, they may have received an invoice with the keycode on it, I don't think we did that but worth trying.
Maybe you are looking for
-
Hi all, I have to send emails to participants inside a group on the server. The groups are synced with the AD on the server.. Now do I need to include a code to call all groups under the ROLE for which I am sending emails to or the following code is
-
Problem with IDOC TO FILE Scenario
Hi Experts, I am doing IDOC TO FILE Scenario. I have done all the configuration.I have cretaed RFC,PORT,LS and Partner profile at both R/3 and XI Side. when I am trying to generate IDOC using we19 and I put the r/3 port,partner in sender and XI port
-
What issue of skype should I use for lion?
I have a new mac lion. Can you advise which release of Skype should be downloaded?Thanks
-
How to void matching process in accounts payable module
Hi, I am working on Accounts payable module. in ap where did u setup matching process is optional.it means how to void matching process. give me navigation.. any one knows these answer. please help me Regards Ravi
-
Smart Recorder will not load in Audigy 4
I recently re-installed Audigy 4 and installed all the current updates and Smart recorder will not load. I get a message saying "Smart Recorder has encountered a problem and needs to close". All the other Creative Apps work fine. I am running XP Sp3.