Five-line code
If &Color = "Blue" And &Pet = "Dog" Then &Flag = True; Else &Flag = False; End-If;
can be converted to one line
&Flag = (&Color = "Blue" And &Pet = "Dog");
&Flag is TRUE if both conditions are true.
False otherwise.
Five-line code
If &Color = "Blue" And &Pet = "Dog" Then &Flag = True; Else &Flag = False; End-If;
can be converted to one line
&Flag = (&Color = "Blue" And &Pet = "Dog");
&Flag is TRUE if both conditions are true.
False otherwise.
This nifty trick basically allows you to create hyperlinks on a PSQuery result.
Very useful for those drilldown reports where you click a link and it brings you further down the rabbit hole to more detailed information.
In this case, we will create 2 queries and try to link them using Drilldown URL.
Here's a quick guide for this deadly combo:
XML, BI Publisher, and Application Engine.
We start by importing the delivered Application Package.
import PSXP_RPTDEFNMANAGER:*;
The following function is optional if
Let's say you scheduled several nVision instances using your AE and you want to send an email right after everything ran to Success.
How do you force your AE to wait?
You can use this piece of code.
For obvious reasons, I cannot possible document the entire AE in this blogpost so I'll just give a quick rundown.
nVision is scheduled through a series of setup pages under this navigation
Main Menu > Reporting Tools > PS/nVision
Behind the curtains, PeopleSoft is inserting data to the following tables
Which means, in order to successfully schedule an nVision instance, you just need to
I have always wondered why PeopleSoft never included a "Download All" button in all their releases for Report Manager.
Of course, messing with delivered objects is generally frowned upon.
But if you really wanted to implement one, here's a sample.
Haven't posted much about Excel but this one has been the most common request from business users.
This is a macro to override the "Save As" filename.