[JS] (CS3) How to create Session Variable
Is there a way to create an Array for the current InDesign session and access/modify its value with scripts?
I already have a Startup script with #target indesign & #targetengine "session" declared, but creating a variable (xxx = new Array;) doesn't make it global/persistent throughout the session!
try
var xxx= new Array();
Similar Messages
-
How to pass session variable value with GO URL to override session value
Hi Gurus,
We have below requirement.Please help us at the earliest.
How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
Please provide step by step solution.No vague answers.
I followed below steps mentioned.
RPD:
****-> Created a session variable called STATUS
-> Create Session Init block called Init_Status with SQL
select 'ACTIVE' from dual;
-> Assigned the session variable STATUS to Init block Init_Status
authenticationschemas.xml:
Added
<RequestVariable source="url" type="informational"
nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
Report
Edit column "Contract Status" and added session variable as
VALUEOF(NQ_SESSION.STATUS)
URL:
http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
Issue:
When I run the URL above with parameter EXPIRED, the report still shows for ACTIVE only. The URL is not making any difference with report.
Report is picking the default value from RPD session variable init query.
could you please let me know if I am missing something.Hi,
Check those links might help you.
Integrating Oracle OBIEE Content using GO URL
How to set session variables using url variables | OBIEE Blog
OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
Thanks,
Satya -
HOW TO CREATE A VARIABLE IN SAP SCRIPT
HI ALL,
CAN ANYONE TELL ME HOW TO CREATE A VARIABLE IN SAP SCRIPT.
THANK YOU,
BYE
TAKE CARE.Hi Ravi,
You can use like this
A text in the editor contains the following DEFINE commands:
/: DEFINE &mysymbol& = 'xxx xxx xxxxx xxxx'
&mysymbol&
/: DEFINE &mysymbol& = 'yyyyy yyy yyyy'
/ &mysymbol&
The printed text appears -
How to create a variable in BEx 7.0
Hi,
Can anyone please tell me how to create a variable in BEx 7.0
In 3.5, when we right click on a characteristic, we used to get an option for restrict.
I cant find any such option in 7.0Hi,
Right click on the characteristic 0CALMONTH in the default values or drag it to char. restriction section and say restrict.Pull the drop down menu in that to select variables. There u will get a create icon.Click on that...then in details tab u can specify whether mandatory,interval and all..
Regards,
Rathy -
How to create Presentation variable for columns and to use it in Narrative?
Hi All,
Anybody know how to create presentation variable for a column (i.e., i need to create it in edit formula section itself). And then, I should use it in Narrative section to display that column value. Is it possible? Or do i need to use any other variable for this requirement? If so please let me know, how to create it? This is very urgent requirement.
Thanks in Advance
ThenmozhiHi Satya,
I just want to create a table that should horizontally display the values like below:
SUID Tag # :123456 Year Mfg: 2007
Description: computer corporation FA ID#: 4576
Model Number: 4569 hESC: #ert
Serial Number: 78945 Flags: c
Department: Hematology
User: thenmozhi
Database: OLAP
I think we can create this type of report using either Narrative or Static Text. But I am not sure whether it is possible or not? And also another thing is that sectioning is applied for SUID Tag # column. So, depending on the dashboard prompt if the SUID Tag # retrieves two or more values.
Then the first value for example 123456 and the values for the other columns related to this SUID Tag # value should display in the first page (i.e., page 1). And if the next value of the SUID Tag # for example say 678901 then the values should move to second page that is like this:
SUID Tag # :678901 Year Mfg: 2008
Description: Computer Manufacturing FA ID#: 4577
Model Number: 4570 hESC: #eth
Serial Number: 78946 Flags: G
Department: Hematology
User: Rehman
Database: OLAP
Thanks
Thenmozhi -
How to create selection variables on the KF
Hi,
i need to create a variable on the CKF and the user is going to give the selections like >90% or <100% in the variable screen before runing the report.on the report should show the values based on the selection.
1.how to create the variables on the CKF.
2. how to restrict the values and give the selections(like >90%,<100%) values in the selections.Hi Venkat,
You can achieve this by the following way:
1. Create a CKF or a local formula(based on which queries it needs to be used)
2. Then go to BEX Query Designer -> View -> Conditions
3. Create New Condition -> select 'New' -> Select your CKF/Local Formula -> Define your Operator ( BT, GT, LT, Top % etc.) -> Create a Formula variable (Ready for input with Processing type as ;manual Input')
4. DO the char. assignement for the condition with your condition definition
4. Execute the report with your values.
This will solve your prob.
Cheers,
VA -
For Mayank Guptha : how to create formula variable in IP
Hi,
How to create formula variable, such that it will appear in the variable screen.Hi,
the variables you create in formula function are local to the function.
Ex., DATA CST_ELMNT TYPE 0COSTELMNT.
DATA QTY TYPE 0QUANTITY.
To get the variables listed in the variable screen you need o create variables at aggregation/filter level for the required characteristics. -
How to create replacement variable
Hi,
Any one has idea how to create replacement variable in bps.
I need to pass one variable value to another.\
Because both the fields are fields to be change. But user does not want to do double entry.
So need to pass one value from another. Is there any way. I can fix this issue.
Thanks
Naman ShahSo far not found any answer so closing
-
How to create session in JSP & Servlet
Hi All
I'm really new to JSP & Servlet. So I want to know how to create sessions and how to pass details to another web page
Thanks
PadmaYou can easily pass objects from one jsp or servlet to another.
On your servlet execute method (for example), you can do this as follows:
HttpSession session = request.getSession();
User u = new User();
session.setAttribute("user", u);And get it again on other servlets:
HttpSession session = request.getSession();
User user = (User) session.getAttribute("user");I hope this helps you. -
How to create the variable variant in process chains for ip
how to create the variable variant in process cahins for ip
Hi venky,
check these links
http://help.sap.com/saphelp_nw70/helpdata/EN/c0/980398e58611d194cc00a0c94260a5/content.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/c0/98038ce58611d194cc00a0c94260a5/content.htm
bhaskar -
How to create dynamic variable in HANA
Hello experts,
Please help me on how to create dynamic variable in calculation view.
Ex: variable automatically should take YTD, or MTD values so that I can directly consume column in BW on hana or BO reporting.Hi ,
Not sure on what are looking for. Have a look on the below blog once, if this is what you are looking out for:
Applying YTD in SAP HANA with SAP BO Analysis Office
Regards,
Krishna Tangudu -
How to create session id from different string controls
how to create session id from different string controls
fais,
Please create the VI you are talking about and save some default data into all of the controls. Also on the front panel, place the session ID that should be generated by that data. Now, post your VI to a response so I can download it. I can then take this VI and help you create the functionality. (Please post what version of LabVIEW you are using.)
My guess it that you are going to need to use a good number of string concatenations as well as a few string indexes to get parts of strings out. As for the date, you can use a Property node with the Numeric Text.Text property to get the actual string displayed on the front panel for the date and parse out the parts that you want.
Randy Hoskin
Applications Engineer
National Instruments
h
ttp://www.ni.com/ask -
How set a SESSION variable?
How set a SESSION variable?
There is a standard object where could do this?
Thx in advance Roberto.>I'm not at all sure that you CAN change the portal language in the way that you want.
>Perhaps you should repost this question in the portal forum.
No i manage the language of WebDynpro myself, with tables from R3.
I wanna do only a thing like HTTP SESSION variable from the WEB.
I could do it, using java function of servlet, but i don't wanna use third packege out of WebDynpro FRAMEWORK.
The isn't an OBJECT CLASS STANDARD od WebDynpro that do that?
I wanna PERMANENT variable from a WebDynpro to another.
It is an implicit variable passage.
No one did something of similar?
Bye
Message was edited by: giovanni angerame -
How to create Presentation Variable in OBIEE 11g
Hi,
Can any one tell me how to create a Presentation Variable. I know about the creation of Session and Reporsitory variables.
Is it to be created in the Edit formula of the column in criteria tab.
ThanksHi,
Refer : http://gerardnico.com/wiki/dat/obiee/presentation_variable_initialization
Thanks
Aravind -
How to use session variable in JSP function & How to use both JSP Servlet
Hi,
I am new to JSP and servlets
Still I am devloping a website in JSP. I am not mixing JSP with servlets, but I do create Java files for bean, logic and database works.
I try to keep the hard coding part out of JSP.
I dont how to use both JSP and Servlets in combination.
Hence If needed I write some functions in JSP.
but it gives me error
+<%! public void abc()+
+{+
int intUserId = Integer.valueOf((Integer) session.getAttribute("MySession_UserID"));
+}+
+%>+
Saying cannot find symbol session
1) So can u please tell how can I access session variables within JSP function
2) And also give me some links/tutorials about useing both JSP and Servlets in combination.
Thanks
VenkatThe application architecture when you use Servlets and JSP in a standard MVC pattern is explained here (under the heading "Integrating Servlets and JSP Pages") and here ...
Maybe you are looking for
-
JComboBox takes ages to load/refresh when tried to add more items.
Swing gurus ... Here is the test app generated from VA3.5 concept is the same - JComboBox takes long time to add data items to itself when added more items. In this senario, I tried to load about 500 items into the combo box, takes about 2+ minutes t
-
Default Forms server background image
How do you change it from the default image that shows "Oracle9IAS Forms Services" Thanks
-
Why does my laptop shut down when i try to download itunes
my laptop says windows is shutting down to avoid damage every time i try to download itunes . i have windows xp
-
DW bug? Not clearing floats via overflow:hidden
OK so I think I found a bug in Dreamweaver CS3's Design View. I have been using an alternative technique to clear floats using overflow:hidden. It's not a new technique but it is very clean. You can read about it here: http://www.quirksmode.org/css/c
-
MacBook Pro that my Airport Express WiFi profile was created crashed. Can i reset the Airport Express either to an iPad or Windows 7 computer?