Trying to get the value of a prompted filter on the Title bar
Hi,
I'm trying to display the value of a prompted filter, like a company name, next to
the report title.
Is this possible?
Many thanks,
Belinda
What he means is this:
1) You have to use a dashboard prompt and save it to a Presentation Variable.
2) Drag any column from the workspace and place it at the beginning of your report, in column position one.
3) In the fx of this column, delete what is in there and enter the name of the presentation variable (you can click on Variable>Presentation and type it in to have OBI put in the proper syntax).
4) Now go to the Narrative View and enter @1. The reason you put "1" is because the column is position one. If the column was in position 5, you would write @5. Got it?
5) Now because the Narrative View is a separate view, in your Compound Layout view, just add the Narrative View and place it on the top, just below your Title View.
Now you will have the selected value from the dashboard prompt at the top of your report. If you want, you can also put Presentation Variables in the Title View as well. Follow the same syntax convention: @{pvar_name}
Similar Messages
-
Trying to get a value from 1 array based off the ID in another
Something like this.
rankGrade = model.rankArray.RANKABBRIVIATION where
model.rankArray.RANKGRADEID = model.student.RANKGRADEID
Any suggestions?You could use associative arrays, or even better to use XML
with e4x syntax. See these FB3 help topics:
Associative arrays
The E4X approach to XML processing
myXML.item.(menuName=="small fries").@quantity = "2"; -
How can get the value of a HtmlInputText (created in the bean)
Hi All,
I have created a HtmlInputText object in the Backing Bean (the getter and setter are in another Bean used to manage the data, getEditableInputText and setEditableInputText)
//getter and setter in Bean
public HtmlInputText getEditableInputText() {
return this.editableInputText;}
public void setEditableInputText(HtmlInputText editableInputText) {
this.editableInputText = editableInputText;
I set the value in the Backin Bean
The HtmlInputText is bound in the xml in this way:
<h:inputText id="test" binding="#{Bean.editableInputText}"></h:inputText>
When I load the page I can see the TextField with the value that I set previously (in the backin bean).
The problem is when I try to change the value of the texField:
I change the value, then I click on a button (its action is to call a method to get the value of the field).
In debug mode I see that the value is allways the first set instead of the new value inserted.
I tried with getValue and similar but it does not work.
I tried also to put HtmlInputText in a panel (using a similar logic) and then to get it using getChildren() method but also this does not work.
Any idea?
Thanks in advanceOk (now I understand)
I have used bean.getEditedInputText() and it is not null.(I got the HtmlInputTextObject)
But bean.getEditedInputText().getValue has allways the first value set.
If I don't set previously the value (in the backin bean) the getValue() is allways null.
So my problem is that I can set but I cannot get the Value when I change it.
Edited by: LucaMane on Nov 16, 2008 5:13 AM -
latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the ''Extracting'' stage for 7-8 hours after which it does not progress.
Refer to EX11....
Creative Cloud Error Codes (WIP) | Mylenium's Error Code Database
Mylenium -
iPod nano 3rd gen. Apple logo remains on screen and iTunes doesn't recognise it's plugged in, I can't even turn it off. I've tried to get to disc menu but when I hold the 'menu and select button' it reboots and then doesn't recognise the select and play button to show the tick. I'm helpless.
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
I'm trying to get rid of logmein. I threw away the entire application but I can't remove it from my overhead menu bar and the activity monitor tells me it's still running. How do I get rid of it completely?
Install it again and use the developers uninstall instructions
How to uninstall/install software on your Mac -
Itunes 11.4.0.18 crashing when clicking on app store
Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open app store.Click here and follow the instructions to change the iTunes Store country.
(97125) -
my rescue me email is no longer active. trying to get a call scheduled but it says all the numbers i enter are not valid.....help!!
Hi aj_russ,
As long as you still have access to your Apple ID account, you should be able to change or edit the Rescue email address associated with your security questions. You may find the following article helpful:
Apple Support: Rescue email address and how to reset Apple ID security questions
http://support.apple.com/kb/ht5312
Regards,
- Brenden -
DB2Exception - The value of a host variable in the EXECUTE or OPEN statemen
I want to store a XML file into database.
To undersdande my problem, please see the code below:
java.sql.Connection conn = null ;
PreparedStatement ps;
// Here I'm calling a function to get Database Connection.
String sXmlFile = "" ; // This variable stores a XML file as String
String sSQL = "INSERT INTO Crs_x_xml (XML_TRAN_ID,XML_MESSAGE,SUSPENDED_FLAG ) VALUES(?,?,?)";
try {
ps = conn.prepareStatement(sSQL);
ps.setLong(1,1);
ps.setBytes(2, sXmlFile.getBytes());
ps.setString(3,"A");
ps.executeUpdate();
conn.close();
} catch (Exception e) {
e.printStackTrace();
The Problem:
The table Crs_x_xml that I used has three columns, the first is a int, the second is a BLOB and third is Char(1) and its in DB2 running on AIX.
Sometimes it execute very well. But sometimes gives following error :=
COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/AIX64] SQL0302N The value of a host variable in the EXECUTE or OPEN statement is too large for its corresponding use. SQLSTATE=22001
I dont know whats going wrong. Plz help....
~AbhijeetHi,
I am using a CMP query in websphere, in which i am trying to execute a select query.
The query is as follows:
SELECT OBJECT(o) FROM HrTmmbrAct o WHERE o.tmmbrActC IN ( 1,2,3 ) AND o.effD BETWEEN '2000-02-11' AND '2008-02-22'
The tmmbrActC is defined as a string in the Websphere CMP fields. I am not sure now to pass the value to it. Do we need to pass it as objects. pls help.
Thanks
- Giri -
Where is the value of report repository stored in the database?
Hi all,
One of our developers is trying to write a code that would send the output report (pdf)of a process through mail, typical work flow stuff.But the problem is that we are not supposed to hard code the value of report repositiry from where the report has to be picked.can anybody suggest a table in the database from where the value of report repository can be queried.
we tried using
select reportrepositorypt from pswebprofile.
but this doesnt return the correct path. we went to PIA->peopletools->webprofile ->webprofie configuration
here we updated the value in report repository field and saved it and queried again.
But this didnt solve our problem.
Its showing the previous value which is different from the actual report repository path.
all the servers are in solaris box.
please suggets.
Thanks!Right now, I am trying to send a PDF (XML Publisher report) as an email to our vendors (it is their ACH Advice).
What I have done so far is: Created an App Engine, one step to populate a state record with run control information and the second step that runs XML Publisher and creates PDF report(s) which are published to the Report Repository and saved to a file on our network. Now I think I just need to create a third step to recall the PDF(s) and send the PDF(s) out as emails to our vendors.
I have found that the PDF information from Report Repository is stored in the Database in the CDM_LIST_VW record (this is a view and the main underlying table is CDM_LIST, but this contains what I need for now, so I'm going to try using it first). The Report ID is stored in the CONTENTID field and the Report Description (description shown on the Report Repository -- which in our case contains the email address) is stored in the CONTENT_DESCR field. So I am going to try over the next week to write the logic to query the CDM_LIST_VW for the data needed for the email address and the ReportID to go and grab the file....The hardest part is finding the actual file but I am hoping that I can also find a URL on that table. I'd pull the file from the network, but XML Publisher writes them out into numbered folders where all the PDFs are named the XML Report Defn - thus same name). I have not tried any of this yet, but am hoping I'm on the right path.
I hope this helped answer your question.
Good Luck!
Jennifer -
The value 1 is not allowed for the field variace key
Hi experts,
When i was creating material master i was getting the status message as "the value 1 is not allowed for the field variance key" , but its stopping there its not moving out of that screen and creating the material record. When i see this field in the material master configuration its an optional field. Can you give me suggestions, where it can go wrong.
Thanks & Regards,
Ravi.Hi
Can u tell me the field name . I cant get that field ref key. In which view does it come.
Reg
Raja -
How do I insert the value of an email field in the submit mailto: argument?
I want to create a button that will redirect a PDF form to an email address entered as a field in the form. In other words, a "return to sender" function. The button function has a submit to URL where you can use "mailto:[email protected]". How can I substitute the value from an email field in the form itself for the "[email protected]" value?
You'll need to use JavaScript, and the mailDoc method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html
Get the value of the field that contains the email address and use it as the value of the cTo property. See the following for a sample script: http://forums.adobe.com/message/3553628?tstart=-1 -
How to get the value from a JavaScript and send the same to Java file?
Hi.
How to get the value from a JavaScript (this JS is called when an action invoked) and send the value from the JS to a Java file?
Thanks and regards,
Leslie VYes, I am trying with web application.
In the below code, a variable 'message' carries the needed info. I would like to send this 'message' variable with the 'request'.
How to send this 'message' with and to the 'request'?
Thanks for the help :-)
The actual JS code is:
function productdeselection()
var i=0;
var j=0;
var deselectedproduct = new Array(5);
var message = "Are you sure to delete Product ";
mvi=document.forms[0].MVI;
mei=document.forms[0].MEI;
lpi=document.forms[0].LPI;
if(null != mvi)
++i;
if(null != mei )
++i;
if(null != lpi)
++i;
if(null != mvi && mvi.checked)
deselectedproduct[++j]="MVI?";
if(null != mei && mei.checked)
deselectedproduct[++j]="GAP?";
if(null != lpi && lpi.checked)
deselectedproduct[++j]="LPI?";
if( 0!=j)
if(i!=j)
for (x=0; x<deselectedproduct.length; x++)
if(null != deselectedproduct[x])
message =message+ "-" +deselectedproduct[x];
alert(message);
else
//alert(" You cannot remove all products!");
return false;
return true;
} -
How to get a value for Select One Choice in the backing bean
Friends,
Does any one have any idea, how to get the value of a selected item value from the Select One Choice component in the backing bean iin valueChangeListener method. Right now I am always getting the sequence of the selected item, instead the actual selected value. I tried using 'ValuePassTrhough=true' also.. but didn't help
Below is the my code snippet
<af:selectOneChoice value="#{bindings.country.inputValue}"
required="#{bindings.country.hints.mandatory}"
shortDesc="#{bindings.country.hints.tooltip}"
id="soc1" autoSubmit="true" valuePassThru="true"
valueChangeListener="#{pageFlowScope.Bean.onValueChange
<f:selectItems value="#{bindings.country.items}" id="si2"/>
</af:selectOneChoice>
Thanks in advance.check my other post at Re: Pass data from a variable to another page
-
How to hold the value of a prompted password in a variable while file is open?
I have this little VBA macro that uses ADODB to execute a SQL Server Agent job remotely. It is in an Excel file, and there will be several other similar macros in the same Excel file. They will be used at least 10 times, each time the user opens
the Excel file. If I leave it like this, the user will be prompted for the password every single time they run one of the macros. How can I change it to instead prompt the user for the password value initially when they open the file, store it
in a variable, and then utilize that variable value for the database connection every time they run one of the macros (to avoid repeated prompting)? Also, are there any security concerns with my proposed approach?
Sub Test_SSIS()
Dim conn As Object
Set conn = CreateObject("ADODB.Connection")
conn.Provider = "sqloledb"
conn.Properties("Prompt") = adPromptComplete
conn.Open = "Data Source=MYSERVER;USER ID=JOHNDOE;"
conn.Execute "exec msdb.dbo.sp_start_job 'Test_remote_job_execution'"
End SubOne possibility is to use the workbook_open event to prompt for and store the password temporarily in the registry. Add the following code to the thisworkbook module of the workbook
Option Explicit
Private Sub Workbook_Open()
Dim strPassword As String
strPassword = GetSetting("myApp", "Config", "Password", "")
If strPassword = "" Then
strPassword = InputBox("Enter password")
SaveSetting "myApp", "Config", "Password", strPassword
End If
lbl_Exit:
Exit Sub
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
RegKeyDelete "HKEY_CURRENT_USER\Software\VB and VBA Program Settings\myApp\Config\"
If RegKeyDelete("HKEY_CURRENT_USER\Software\VB and VBA Program Settings\myApp\") = True Then
MsgBox "Password cleared"
Else
MsgBox "Password not stored"
End If
lbl_Exit:
Exit Sub
End Sub
Function RegKeyDelete(i_RegKey As String) As Boolean
Dim myWS As Object
On Error GoTo ErrorHandler
Set myWS = CreateObject("WScript.Shell")
myWS.RegDelete i_RegKey
RegKeyDelete = True
Exit Function
lbl_Exit:
Exit Function
ErrorHandler:
RegKeyDelete = False
GoTo lbl_Exit
End Function
Then modify your macro code as follows:
Sub Test_SSIS()
Dim strPassword As String
Dim conn As Object
strPassword = GetSetting("myApp", "Config", "Password", "")
If strPassword = "" Then
strPassword = InputBox("Enter password")
SaveSetting "myApp", "Config", "Password", strPassword
End If
Set conn = CreateObject("ADODB.Connection")
conn.Provider = "sqloledb"
conn.Open "DATA SOURCE=MYSERVER;USER ID=JOHNDOE;Password=" & strPassword & ";"
conn.Execute "exec msdb.dbo.sp_start_job 'Test_remote_job_execution'"
End Sub
The workbook must obviously be saved as macro enabled
This will then prompt once when the workbook is opened. When the macro is run it will read the password from the registry thus not requiring a prompt, unless for some reason the password is missing or nothing has been entered as a value in the first box.
When the workbook is closed, the workbook before close event deletes the registry entries completely.
The only snag to this is if the workbook is crashed, the registry entry is not removed and there will be no prompt next time, until the workbook is closed correc tly. This might not be an issue, if the users don't know about it, so hide your code from them.
Graham Mayor - Word MVP
www.gmayor.com
Maybe you are looking for
-
Think my email has been hacked need help??
i use outlook web page to check my emails but yester day i had delivery failures which was unusual as i didnt send anything.. i went to log in today and it said there is somebody trying to use my email aswell does anybody know how this has happened??
-
What is IMIP and how does it work with iCal? (I don't mean IMAP ! ! )
My POP email protocol includes a special folder called IMIP. This stores all emails that have "calendar" related material or invitations. However, they don't download to my MAIL application... they just stay on the MAIL SERVER in a folder called IMIP
-
Oracle Optimizer Mode Choose / Rule
Hello, we have a strange behavior with Oracle 9.2 We have a application doing SELECT to_char(COLUMNNAME) FROM VIEW WHERE ROWNUM = 1 This statement needs 75 seconds executed on the server within the application. call count cpu elapsed disk query curre
-
Jheadstart 10.1.2. used witj jdev 10.1.3
Hello All, Can I use jheadstart 10.2.3 in combination with jdev 10.1.3? Regards, Menk Slot
-
Getting my apps back for free?
So, time ago (like a month or two) my iPod got stolen (4th generation touch if that makes any difference), unfortunately for myself, I didn't get a chance to back up my last transactions on iCloud/iTunes, so all the apps that I bought (like games an