Link Report - Report with condition
Hi,
I want to create a link in a report row that opens some page if the column has a determined value and other page if the value has another value. In other words, depending on a column value the link should open page1 or page2 or page3.
Is this possible to do?
Thanks
what url should I use, considering that I plan to
deploy my application to other systems? Use whatever URL you were planning to use when you were going to do it declaratively in the Column Link section?
If I use absolute url
(http://myserver.com/pls/htmldb/f?p=102:1) it makes
me change the code each instalation I do. Can I use aWhere is the URL coming from? From some data in that row? Then construct it accordingly. I really can't say much without seeing your full situation.
relative path like f?p=102:1 ?Sure, all that has nothing to do with HTML DB. Relative URLs, as you know, will use the server/port from the currently loaded document.
Another question: it seem that when using a link like
http://myserver.com/pls/htmldb/f?p=102:1 the login
session is lost, it presented me the login screen. Do
know something about this?Quick suggestion: Try passing the &SESSION. also in the URL above because unlike v1.6, HTML DB 2.0 needs a session in every link otherwise it redirects to the login page.
Similar Messages
-
Interactive Report Performance With Conditional Link
Apex 3.2
I have a interactive report.
The underlying sql would return 127000 rows
The sql is
select
lde.ods_system,
lde.ldekey,
msg.sendersystem,
msg.messagetype,
msg.messageversion,
msg.msgseqnumber,
msg.alternatekey,
msg.crudmarker,
msg.clrbookdate,
msg.clrbookresult,
lower('udf_'||msg.messagetype) button,
lde.ldekey||'.'||msg.alternatekey||'.'||msg.msgseqnumber udm_key
from
clr_esbmessageheader msg,
clr_adm_systemmessage adm,
udm_lde lde
where
adm.ldeid = lde.ldeid and
msg.sendersystem = adm.system and
msg.messagetype = adm.messagetype and
msg.messageversion = adm.messageversion and
msg.receiversystem = 'SCIPS'
order by msg.clrbookdate desc
This report only takes 1 second to display.
I need to add a conditional link to another page, so I used
case
when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
'<a class="type" href="' || apex_util.prepare_url('f?p='||:APP_ID||':52:'||:APP_SESSION||'::'||:DEBUG||':RIR'||':IR_MSG_KEY,P52_PG:'|| lde.ldekey||'.'|| msg.alternatekey ||'.'|| msg.msgseqnumber ||','|| 50, null, 'SESSION') || '"title="Go to udf_distreceipt Report">udf_distreceipt</a>'
else 'no link' end table_link
The sql seems to be ok, because the report accepted it, but selecting the new column and saving the report takes forever (over 2 mins)
Now the report takes over 2 minutes to run and I still need to add more conditions.
Have I coded the link incorrectly ?
GusHi Gus,
Are you wanting to put the link in the query for a specific reason?
I had to do a similar thing in the past and just completed the column link section for the column.
Why not just have the following in the query:
case
when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
udf_distreceipt
else null END table_link
Then do the linking using column link section:
You would specify your link text as #TABLE_LINK# which should then be conditionally displayed due to the case statement, then add in all the page item and values to pass across using a normal link column.
Thanks
Paul -
SQL Report query with condition (multiple parameters) in apex item?
Hello all,
I have a little problem and can't find a solution.
I need to create reports based on a SQL query or I.R. Nothing hard there.
Then I need to add the WHERE clause dynamically with javascript from an Apex item.
Again not very hard. I defined an Apex item, set my query like this "SELECT * FROM MYTAB WHERE COL1 = :P1_SEARCH" and then I call the page setting the P1_SEARCH value. For instance COL1 is rowid. It works fine.
But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
(no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.
How could I do that, please?
Thanks for your help.
Maxmnoscars wrote:
But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
(no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.For a standard report, see +{message:id=9609120}+
For an IR—and improved security avoiding the risk of SQL Injection—use a <a href="http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm#CACFAICJ">collection</a> containing the values in a column instead of a CSV list:
{code}
SELECT * FROM MYTAB WHERE ROWID IN (SELECT c001 FROM apex_collections WHERE collection_name = 'P1_SEARCH')
{code}
(Please close duplicate threads spawned by your original question.) -
Link in report with SSP enabled
Hey everyone, I have a question here involving programatically generated links in reports from the sql query behind them. How do I make a link to the page (from the report's sql query) that will allow me to change the value of a hidden and protected item (P16_PERSON_CONTACT_ID) without having APEX Session State Protection get angry at me and still protect me from having the user muck with the URL?
David,
Well bind variables are more performant and safer to use in queries. It shouldn't really be a debate on when to use them, you always use them when you can. Here's a quick break down (not a complete list, and should probably be expanded, but should get you going)...
Use bind variable syntax when you're referencing an item:
1. In a report query
2. In PL/SQL code that is stored in the application (as a page level process for example)
Use substitution variable syntax when you're referencing an item:
1. Outside of SQL and PL/SQL but still need the value - this is not always an option (in the HTML Header region of a page or title of a region for example)
Use V and NV functions when you're referencing an item:
1. In PL/SQL code stored outside the application (in a package for example)
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
Edited by: Dan McGhan on Apr 29, 2009 11:01 AM
Replaced "database" with "application" -
Link a Crystal Report report with an SQL Azure database
Hi,
I want to use my database on SQL Azure in Crystal Report. So I want to link my reports with data contained not in a local db, but in a SQL Azure one.
Insiede Crystal Report I have created a new ADO connection to my SQL Azure, providing server, db, user, password, and Crystal Report have recognized the database. But when I go to the Database Expert and I try to set this ADO connection inside my report,
I recieve this error:
"Not Implemented
Source ADODB.Connection
L'operazione richiesta non è supportata dall'oggetto o dal provider (operation not supported by the object or by the provider)"
Why? How can i use my SQL Azure data in my Crystal Report reports?
ThanksHi Delfins,
Please create a UDL file to test the connection, ensure the connection is fine and then use the same connection string in your Crystal Report.
For UDL file, you can refer to:
http://msdn.microsoft.com/en-us/library/e38h511e(VS.71).aspx
Hope this helps,
Raymond
Raymond Li - MSFT -
Problem description:
My MacBook Pro is running really slow. Applications won’t open or take up to 10 min.
EtreCheck version: 2.1.5 (108)
Report generated December 27, 2014 at 9:15:58 PM CST
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (13-inch, Late 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.4 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: one day 6:55:8
Disk Information: ℹ️
TOSHIBA MK5065GSXF disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HD (disk1) / [Startup]: 498.88 GB (5.04 GB free) (Low!)
Core Storage: disk0s2 499.25 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[loaded] com.epson.driver.EPSONProjectorUDAudio (1.30 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) [Support]
/System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) [Support]
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) [Support]
Problem System Launch Agents: ℹ️
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
4 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.ctkd.plist
[killed] com.apple.icloud.findmydeviced.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.wdhelper.plist
[running] com.seagate.TBDecorator.plist [Support]
5 processes killed due to memory pressure
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
[running] com.carbonite.launchd.carbonitestatus.plist [Support]
[loaded] com.coupons.coupond.plist [Support]
[loaded] com.hp.help.tocgenerator.plist [Support]
[loaded] com.trendmicro.itis.dca.plist [Support]
[running] com.trendmicro.itis.uimgmt.agent.plist [Support]
Launch Daemons: ℹ️
[failed] com.adobe.fpsaud.plist [Support]
[running] com.carbonite.launchd.carbonitedaemon.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[running] com.trendmicro.icore.av.plist [Support]
[running] com.trendmicro.icore.main.plist [Support]
[running] com.trendmicro.icore.wp.plist [Support]
[running] com.trendmicro.itis.plugin.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[invalid?] com.jdibackup.JustCloud.autostart.plist [Support]
[invalid?] com.jdibackup.JustCloud.backupstart.plist [Support]
[loaded] com.trendmicro.itis.uninstaller.plist [Support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
bomgar-scc-20130819-104735 UNKNOWN (missing value)
bomgar-scc-20130905-143949 UNKNOWN (missing value)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
WDSecurityHelper Application (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
bomgar-scc-20130819-104735 UNKNOWN (missing value)
bomgar-scc-20130905-143949 UNKNOWN (missing value)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
Internet Plug-ins: ℹ️
SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 [Support]
CouponPrinter-FireFox_v2: Version: 5.0.5 - SDK 10.6 [Support]
Flash Player: Version: 15.0.0.223 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 600 - SDK 10.10
User internet Plug-ins: ℹ️
npBcsMcTcIO: Version: Unknown [Support]
Safari Extensions: ℹ️
Trend Micro Toolbar [Installed]
3rd Party Preference Panes: ℹ️
Carbonite [Support]
Flash Player [Support]
Paragon NTFS for Mac ® OS X [Support]
Seagate Dashboard for Mac OSX [Support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: ON
Auto backup: YES
Volumes being backed up:
HD: Disk size: 498.88 GB Disk used: 493.84 GB
Destinations:
Jens Seagate Backup [Local]
Total size: 999.86 GB
Total number of backups: 6
Oldest backup: 2014-06-24 10:33:56 +0000
Last backup: 2014-12-17 17:14:18 +0000
Size of backup disk: Too small
Backup size 999.86 GB < (Disk used 493.84 GB X 3)
My Passport for Mac [Local]
Total size: 2.00 TB
Total number of backups: 14
Oldest backup: 2013-08-21 19:19:35 +0000
Last backup: 2014-12-19 11:44:23 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 498.88 GB X 3)
Top Processes by CPU: ℹ️
6% coreaudiod
5% CarboniteDaemon
4% iMovie
3% JustCloud
3% Wondershare Player
Top Processes by Memory: ℹ️
335 MB iPhoto Library Manager
180 MB Finder
142 MB iMovie
70 MB Preview
51 MB Microsoft Word
Virtual Memory Information: ℹ️
149 MB Free RAM
1.04 GB Active RAM
897 MB Inactive RAM
1.17 GB Wired RAM
30.53 GB Page-ins
1.42 GB Page-outs
Diagnostics Information: ℹ️
Dec 26, 2014, 05:17:12 PM /Library/Logs/DiagnosticReports/iPhoto_2014-12-26-171712_[redacted].cpu_resourc e.diag [Details]
Dec 26, 2014, 03:47:17 PM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-154717_[redacted].cp u_resource.diag [Details]
Dec 26, 2014, 02:22:01 PM Self test - passed
Dec 26, 2014, 11:48:03 AM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-114803_[redacted].cp u_resource.diag [Details]You have nearly run out of disk space. Either purchase a larger one or start cleaning out the one you have?
-
My Mac is very slow and applications take a long time to load, especially Safari and iTunes. Please help. I have run the Etrecheck report and these are results.
Thanks Pat
EtreCheck version: 2.1.5 (108)
Report generated 4 January 2015 14:29:26 GMT
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
iMac (21.5-inch, Mid 2011) (Verified)
iMac - model: iMac12,1
1 2.7 GHz Intel Core i5 CPU: 4-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
BANK 0/DIMM1
empty empty empty empty
BANK 1/DIMM1
empty empty empty empty
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
AMD Radeon HD 6770M - VRAM: 512 MB
iMac 1920 x 1080
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 0:32:50
Disk Information: ℹ️
ST31000528AS disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (717.51 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OPTIARC DVD RW AD-5690H
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Seagate Expansion Desk 2 TB
EFI (disk1s1) <not mounted> : 210 MB
Seagate Expansion Drive (disk1s2) /Volumes/Seagate Expansion Drive : 2.00 TB (1.66 TB free)
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. iPhone
Apple Internal Memory Card Reader
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Library/Application Support/Avast/components/fileshield/unsigned
[loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) [Support]
/Library/Application Support/Avast/components/proxy/unsigned
[loaded] com.avast.PacketForwarder (2.0 - SDK 10.9) [Support]
Problem System Launch Agents: ℹ️
[failed] com.apple.syncservices.SyncServer.plist
Launch Agents: ℹ️
[loaded] com.avast.userinit.plist [Support]
[running] com.epson.Epson_Low_Ink_Reminder.launcher.plist [Support]
[loaded] com.epson.esua.launcher.plist [Support]
[running] com.epson.eventmanager.agent.plist [Support]
[loaded] com.oracle.java.Java-Updater.plist [Support]
[running] com.trusteer.rapport.rapportd.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[loaded] com.avast.init.plist [Support]
[loaded] com.avast.uninstall.plist [Support]
[failed] com.avast.update.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[loaded] com.oracle.java.Helper-Tool.plist [Support]
[running] com.trusteer.rooks.rooksd.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[invalid?] com.avast.home.userinit.plist [Support]
[running] com.microsoft.LaunchAgent.SyncServicesAgent.plist [Support]
User Login Items: ℹ️
iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: ℹ️
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 [Support]
AdobePDFViewer: Version: 11.0.07 - SDK 10.6 [Support]
DivXBrowserPlugin: Version: 2.2 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
OVSHelper: Version: 1.1 [Support]
QuickTime Plugin: Version: 7.7.3
JavaAppletPlugin: Version: Java 8 Update 25 Check version
Safari Extensions: ℹ️
wrc [Installed]
3rd Party Preference Panes: ℹ️
DivX [Support]
Flash Player [Support]
Flip4Mac WMV [Support]
GoToMyPC Preferences [Support]
Java [Support]
Trusteer Endpoint Protection [Support]
Time Machine: ℹ️
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 999.35 GB Disk used: 281.84 GB
Destinations:
Seagate Expansion Drive [Local]
Total size: 2.00 TB
Total number of backups: 78
Oldest backup: 2013-07-28 18:09:06 +0000
Last backup: 2015-01-04 14:29:38 +0000
Size of backup disk: Adequate
Backup size 2.00 TB > (Disk used 281.84 GB X 3)
Top Processes by CPU: ℹ️
2% WindowServer
1% mds
0% fontd
0% mds_stores
0% com.avast.daemon
Top Processes by Memory: ℹ️
120 MB Safari
112 MB com.avast.daemon
94 MB com.apple.WebKit.WebContent
56 MB spindump
52 MB mds_stores
Virtual Memory Information: ℹ️
479 MB Free RAM
1.56 GB Active RAM
1.11 GB Inactive RAM
904 MB Wired RAM
5.37 GB Page-ins
75 MB Page-outs
Diagnostics Information: ℹ️
Jan 4, 2015, 01:57:18 PM Self test - passed
Standard users cannot read /Library/Logs/DiagnosticReports.
Run as an administrator account to see more information.patbythesea wrote:
Can I assume that with my Mac I do not need any additional virus protection software? If I do, what should I use?
See my Mac Malware Guide for help on protecting yourself from malware. You generally don't need anti-virus software.
(Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.) -
Linking BW report outputs with VC story board output
Hi Everyone,
I have a scenario where I have display list of report names in VC output screen and I have to link these texts with few BW report outputs.
This can be achieved in WAD using HTML coding by linking the report's URL, how can we do the same in VC. My customer wants in such a way that the report has to open in a different window in VC.
I checked even in SDN where I didnt find the exact answer.
Can any one help me out to achieve task.
Regards,
ChanDear Pradeep,
I have checked the document which u have suggested me, it is really helpful. But still i need some specefic inputs.
My client has already developed these dashboards in WAD but now they want everything in VC. Here no interference of WAD.
Let me explain you what I exactly want ...
In VC output screen I want to display the list of report names ( Hard coded ), when I click on these reports (I mean text eg: sales analysis), it has to take me to the sales analysis report output in a different window or may be in same window.
Now displaying this text and linking it with the Query designer report output is my confusion. Can u guide me to achieve this. (Here, No interference of WAD)
Regards,
Chan -
Graphic/Image not displayed with conditional formatting in Report Designer
We are facing problems with displaying an image in a conditional formatting in the Report Designer. The image itself is in the mime repository and can be displayed in the report if no conditional formatting is used. But if it is used the image doesn't appear in the report.
Backend setup: SP 8
Frontend setup: Patch 8, hotfix 2, Revision 95
Any help is highly appreciated.
SvenHi,
I could not reproduce your problem in internal SP8 system. Also images in rows with conditional formatting are displayed.
Do you get any errors after the execution in the portal?
Try to use exactly the same image in both rows (drag-and-drop with CTRL key pressed).
If then your problem still occurs, open a customer message. Describe your problem in detail and write technical name of the report you used.
Regards, Karol -
Link a report with transaction screen
I am working on Creating Transaction screen. How do I link a report say "Word Document" to my transaction : I need to <b>export</b> the data required in my transaction from the<b> Database Table to the Word Document</b> and link that to the transaction screen so that I can create a Push Button on transaction screen to take the printouts of the required Financial Data
Hi
Try to see trx ole: here you should find same examples to manage a word file.
Max -
Report with "Condition Type" (KSCHL)
Hi Friends!
Does anybody know any standard report that show CONDITION TYPE ?
Thank you in advace!There are no standard reports available which shows the transaction data of CONDITION TYPES. However you can refer to the condition type related details in database tables KONV at transaction level.
In this case, either VBAK-KNUMV or VBRK-KNUMV should be equal to KONV-KNUMV
Hope this helps you.
If you need further info, pls let us know -
Link to Interactive Reports application with parametes
Hi ,
I'm trying to link a reporting application to a interactive report application and but I'm not sure on how I should pass parameters ?
Any clues on how to use the URL to achive this ?
VV,
Does this help you...
Interactive Report - Show Saved Reports as Tabs
Anthony. -
How to branch to the delete link in report
Hi all,
i have a report with delete button in all rows.when i click the delete button the row should get deleted.
To achieve this , I have given like this..........
In the column link
link text : image of the delete button
link attributes : &APP_ID.
In the URL : javascript:confirmDelete('Are u sure u want to delete','f?p=&APP_ID.:7:&SESSION.:DELETE1:&DEBUG.:RP:P7_ACT_NO,P7_EDACTIVITY:#Delete#,-1');
I have created a delete process : after submit
with condition request=expression1
In Expression1 i have given DELETE1
Problem is: it is not getting deleted and it is asking for branching.
could any one give a suggestion to achieve this?
Hope my procedure is correct.If not please correct me.
Thanks in adance
bye
SrikaviHi Srikavi,
Firstly, two points:
1 - There are other ways to do this - for example, you could have used a tabular form which provides delete functionality
2 - Your url says P7_ACT_NO but your delete statement says P7_ACT_NO_1???
OK - now the process (I haven't done this for deletions, I've done it for insertions, but the principles should be the same).
1 - You don't need a REQUEST value if page 7 does nothing but delete the data, so your url should be:
'f?p=&APP_ID.:7:&SESSION.::&DEBUG.::P7_ACT_NO,P7_EDACTIVITY:#Delete#,-1'
2 - On page 7, you should have a region that contains the two items that will receive the data from the url: P7_ACT_NO and P7_EDACTIVITY (you haven't explained what the second field is for!?!?!)
3 - The region on page 7 should have a button to submit the page. I'll call it P7_BUTTON. When creating the button, you can specify that it branches back to the original report page and repaginates
4 - In my version, I have hidden the region by adding the following into the region's header:
<DIV style="display:none;">
and the following in the region's footer:
</DIV>
<script type="text/javascript">
doSubmit('P7_BUTTON');
</script>
I hide the contents of the page so that the user doesn't see anything on screen whilst the deletion is taking place.
The javascript automatically clicks the button which submits the page.
5 - Your process to delete should be conditional on P7_BUTTON being clicked - no need to use a REQUEST value
That should be it.
Basically, when you click your button, it passes two values to page 7. Because the javascript on page 7 isn't within a function, it will run automatically. This clicks the button, which submits the page. Your delete process kicks in and deletes the record specified in the P7_ACT_NO field. And, finally, the branch (created when you create the button) will return the user to the original reports page
You could do away with the button and have the process run "Before Header" as long as you are sure that the fields will be populated correctly - in my case, because I'm inserting data, I need to do validation first.
Andy -
Custom Report Layout with mutliple child tables
I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
for example:
Table hierarchy:
Jobs table
Job Stops
Job Days
Job Day Service Providers
Job Day Crew
Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
JobDayProviders.row3
Thanks,
Linda
First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?Helen,
The best way for your case is to use a content folder and customize it whichever way you like.
however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
anyway. something similar but not exactly the same as what you wanted do is the following.
use a query like the following: (with a union in between)
SELECT COLUMN1,NULL , NULL ,NULL ,NULL
FROM my_source_table
WHERE myCriteria LIKE 'SoAndSo%'
UNION
SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
FROM my_source_table
WHERE myCriteria LIKE 'SoAndSo%'
---------- Now, have the following codes in the layout segments:
<!--- header --->
<table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
<!--- body --->
<tr align="center">
<td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
<tr align="center">
<TH><#COLUMN1.FIELD#></TH>
</tr>
</table>
</td>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
</tr>
<!--- footer --->
<TR><TD></TD></TR>
this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
with kind regards,
naqvi -
Hi All,
Application R12.1.3 with Shared Application Tier 2 nodes
Database : 11g R 11.2.0.2 with RAC 2 nodes with ASM
We have a concurrent program which gets fired when submitted thru API . For each order program is run once . If there are more orders it will run n number of times . At this time one request is failing with error
REP-0004:
REP-0069:
REP-57054:
But for the same failed request when we run separately(with same parameters) it is completing Normal . There is no other error in Manager Logs.
please help what can be the issue.
thanks
MappsPlease see the following docs/links.
Concurrent Processing - Concurrent Reports Failing With Errors REP-0004,REP-0082 and REP-0104 [ID 844976.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-0004+AND+REP-0069+AND+REP-57054&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
If the links did not help, please enable trace/debug and see if you get more details about the error and post the contents of the log file then -- How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
Thanks,
Hussein -
Link in Report does not work when run on Citrix
Hello,
we use Crystal Reports (v11) for creating Reports.
Data is based on our CRM system "SuperOffice".
We have several reports and what we did is to add a column that includes a link to SuperOffice.
For example - if I have a list of contacts as a report, then every line has a link to SuperOffice.
If I click this link, the contact in SuperOffice gets open.
This works on lokal pc installations.
But is doesn't work on a citrix server.
If I click the link - nothing happens.
Is that a known problem or does anyone have any ideas for that?
Are there any known problems with links in reports on citrix servers?
Thanks in advance.
Best regards,
TonyHi Don,
thank you for fast response.
That is a good advice. We will check that.
The main question is, to which folders etc. does CR needs access?
To explain the situation better: To run the reports we use Crystal Reports Runtime (Version 11.1.1883).
Do you (or anyone else in these forum) know where we could get information about which kinds of access CR Runtime needs to handle with these links?
Regards,
Tony
Maybe you are looking for
-
Feedback & Help: Zooming the Slide Canvas
Sometimes, I'd like to place object outside the Slide borders so that i can make them fly in & out at my wish. Keynote lets you place anything outside your Slide (Above, Left, Below, Right). When you want to see the bigger picture you can use Zoom Ou
-
URGENT-Session Synchronization between WebSEAL and WebLogic Server 6.1
Hi All, I am a new-bee to Access Manager and WebSEAL. I have an application running in WebLogic Server6.1. I have WebSEAL junctioned to iPlanet Web Server, which in turn integrates with WebLogic through NSAPI plug-in. I am using iPlanet Directory Ser
-
Dear all, SBO 2005B PL42. A user has accidentally cancelled a purchase item (not stock item). For this item G/L accounts are set at the item level ("Set G/L Accounts By" = Item Level), but purchase credit account was not set. The item has already bee
-
I have been able to maintain the info that I want in "Version Name", and would now like to move that to the "File Name" field. I have not been able to find a technique in Aperture to make this change. I could export, then import with the new file nam
-
I need help in a calculator program
hi I'm writing a calculator program and i keep having this error in the actionPerformed method: this is the error : symbol : method parseInt (int) location: class java.lang.Integer tf.setText( Integer.parseInt(result)); ^ 1 error here's the acti