Problem in setting TNS_ADMIN variable for REPORTS10g

Hi,
I am trying to setup web reports using rwservlet on tomcat server. I have set the required environment variables as in documentation including TNS_ADMIN but the servlet is not picking up the value and using the default tnsnames.ora file instead.
This is causing problems as i cannot make an entry to the default file and we keep the tnsnames.ora file on a separate location.
Also, can i place rwservlet.properties file at a different location than $REPORTS_HOME/reports/conf directory?!!!
The response of : http://loncrmappu1.uk.db.com:7700/demo/rwservlet/showenv/?server=loncrmappu1_10g_server gives me the below values:
HTTP Environment Variables 10.1.2.0.2
SERVER_NAME loncrmappu1.uk.db.com
SERVER_PORT 7700
SCRIPT_NAME /rwservlet
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE undefined
GATEWAY_INTERFACE undefined
SERVER_PORT_SECURE undefined
ACCEPT */*
REQUEST_METHOD GET
REMOTE_HOST 10.129.202.176
REMOTE_ADDR 10.129.202.176
REMOTE_USER undefined
AUTH_TYPE undefined
PATH_INFO showenv/
QUERY_STRING server=loncrmappu1_10g_server
PATH_TRANSLATED /home/partest/users/VishalK/jakarta-tomcat-5.0.30/webapps/demo/showenv
CONTENT_LENGTH undefined
CONTENT_TYPE undefined
AUTHORIZATION undefined
USER-AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
REMOTE_IDENT undefined
REFERER undefined
OracleAS Reports Services - Servlet Environment Variables Return to Top
KeyMapFile /u001/oracle/product/reports10g/reports/conf/cgicmd.dat
DBAUTH /u001/oracle/product/reports10g/reports/templates/rwdbauth.htm
SYSAUTH /u001/oracle/product/reports10g/reports/templates/rwsysauth.htm
server undefined
DIAGNOSTIC yes
traceopts undefined
ERRORTEMPLATE /u001/oracle/product/reports10g/reports/templates/rwerror.htm
SERVER_IN_PROCESS yes
COOKIEEXPIRE 30
ENCRYPTIONKEY reports9i
DIAGHEADTAGS undefined
DIAGBODYTAGS undefined
HELPURL undefined
RELOAD_KEYMAP NO
IMAGEURL http://loncrmappu1.uk.db.com:7700/reports/rwservlet
SINGLESIGNON yes
OracleAS Reports Services - Server and Engine Environment Variables Return to Top
PATH /u001/oracle/product/reports10g/jdk/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin:/u001/oracle/product/reports10g/bin:.:/usr/ccs/bin:/home/sentinel1/download/Solaris_JDK_1.2.2_07/bin:.:/usr/ccs/bin:/home/sentinel1/download/Solaris_JDK_1.2.2_07/bin:.:/usr/ccs/bin:/home/sentinel1/download/Solaris_JDK_1.2.2_07/bin:/usr/bin::/etc:/opt/EMCpower/bin/sparcv9:/opt/VRTSvcs/EMC/bin:/etc/emc/bin:/u001/oracle/product/9.2.0.4/bin::/home/sentinel1/WLE5.0/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/.utils:/home/partest/SUNTOOLS:/u001/oracle/product/reports10g/reports/lib32:/usr/bin:/usr/local/bin:/usr/ccs/bin:.:/usr/SUNWspro/bin:/usr/dt/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/home/partest/Scripts:/u001/oracle/product/9.2.0.4/bin:/home/sentinel1/WLE5.0/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/usr/sbin:/usr/proc/bin:/u001/oracle/product/9.2.0.4/lib:/home/Weblogic/bin:/u001/oracle/product/dev6i/bin://home/partest/tdbdata:/home/partest/ADMIN/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin:/home/partest/dbus_3_0_8_14/scripts:/home/partest/dbus_3_0_8_14/bin/sh:/home/partest/dbus_3_0_8_14/bin/SPARC_5.8:/home/partest/dbus_3_0_8_14/SPARC_5.8/6.0/bin:/u001/oracle/product/9.2.0.4/bin::/home/sentinel1/WLE5.0/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/.utils:/home/partest/SUNTOOLS:/u001/oracle/product/reports10g/reports/lib32:/usr/bin:/usr/local/bin:/usr/ccs/bin:.:/usr/SUNWspro/bin:/usr/dt/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/home/partest/Scripts:/u001/oracle/product/9.2.0.4/bin:/home/sentinel1/WLE5.0/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/usr/sbin:/usr/proc/bin:/u001/oracle/product/9.2.0.4/lib:/home/Weblogic/bin:/u001/oracle/product/dev6i/bin://home/partest/tdbdata:/home/partest/ADMIN/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin:/u001/oracle/product/9.2.0.4/bin::/home/sentinel1/WLE5.0/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/u001/oracle/product/9.2.0.4/bin:/home/partest/.utils:/home/partest/SUNTOOLS:/u001/oracle/product/reports10g/reports/lib32:/usr/bin:/usr/local/bin:/usr/ccs/bin:.:/usr/SUNWspro/bin:/usr/dt/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/openwin/bin:/home/partest/Scripts:/u001/oracle/product/9.2.0.4/bin:/home/sentinel1/WLE5.0/bin:/home/partest/Appbin/bin:/home/partest/Appbin/omgen/bin:/usr/sbin:/usr/proc/bin:/u001/oracle/product/9.2.0.4/lib:/home/Weblogic/bin:/u001/oracle/product/dev6i/bin://home/partest/tdbdata:/home/partest/ADMIN/bin:/u001/oracle/product/reports10g/bin:/u001/oracle/product/reports10g/jdk/bin
DISPLAY
LD_LIBRARY_PATH /u001/oracle/product/reports10g/jdk/jre/lib/sparc/server:/u001/oracle/product/reports10g/jdk/jre/lib/sparc:/u001/oracle/product/reports10g/jdk/jre/../lib/sparc:/u001/oracle/product/reports10g/jdk/jre/lib/sparc:/u001/oracle/product/reports10g/lib32:/u001/oracle/product/reports10g/jdk/jre/lib/sparc:/u001/oracle/product/reports10g/lib32:/u001/oracle/product/reports10g/lib32:/home/partest/batch/Q1_04/lib:/usr/lib:/home/partest/CORBA/lib:/home/sentinel1/WLE5.0/lib:/u001/oracle/product/9.2.0.4/lib:/u001/oracle/product/dev6i/lib:/home/partest/GENCODE/lib/sparc:/home/partest/Appbin/lib:/home/partest/xerces-c_2_3_0-Sol2.7ForCC/lib:/home/partest/xml-xalan/c/lib:/home/partest/ldap/lib:/home/partest/dbus_3_0_8_14/SPARC_5.8/6.0/lib
ORACLE_HOME /u001/oracle/product/reports10g
TNS_ADMIN /u001/oracle/product/reports10g/network/admin
NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
USER_NLS_LANG
RW /u001/oracle/product/reports10g/reports
REPORTS_PATH /u001/oracle/product/reports10g/reports/templates:/u001/oracle/product/reports10g/reports/samples/demo:/u001/oracle/product/reports10g/reports/integ:/u001/oracle/product/reports10g/reports/printers:/u001/oracle/product/reports10g/reports/templates:/u001/oracle/product/reports10g/reports/samples/demo:/u001/oracle/product/reports10g/reports/integ:/u001/oracle/product/reports10g/reports/printers:/home/partest/report/rdfs:/u001/oracle/product/reports10g/reports/templates
REPORTS_TMP /tmp
REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
java.class.path /u001/oracle/product/reports10g/j2ee/home/lib/ojsp.jar:/u001/oracle/product/reports10g/reports/jlib/rwrun.jar:/u001/oracle/product/reports10g/jlib/zrclient.jar
sourceDir
tempDir
useDataCache
ignoreDataParameter

Hi
I checked the mentioned Patch Levels, everything seems to be fine.
After I did few changes in JCOs and checked the XCM configuration throughly shopadmin URL (http://<host>:<port>/shopadmin/shopadmin/init.do) has started working.
Now I have maintained 2 shops and can see the B2B and B2C web portals fine.
But as soon as I select any material, it is giving error saying error in XCM configuration related to IPC.
could you pleaase help me out with this?
Also, as soon as I click on the B2B Login link, it dumps.
And useradmin URL  http://<host>:<port>/isauseradm/useradmin/init.do   is still giving "Page can not be displayed",
These problems are related to XCM configuration, but not sure where exactly and which configuration is missing. please can you suggest ? Any XCM configuration related document will also be helpful.
Regards,
Neha

Similar Messages

  • Set a variable for an item in an empty list

    Hi all
    I set a variable for an item in a list like this
    <c:set var="item" value="${myList[0]}" />..
    <c:if test="${ item != null}">
    </c:if>I tested and see that the application works OK even when myList is empty but I donot know that my way is correct or not. Is there any problem happen if myList is empty?

    Thanks again, Balus
    <c:set var="item1" value="${firstList[0]}" />
    <c:set var="item2" value="${secondList[0]}" />
    <c:set var="item3" value="${thirdList[0]}" />The way above is shorter the way below:
    <c:if test="${not empty fistList}">
        <c:set var="item1" value="${firstList[0]}" />
    </c:if>
    <c:if test="${not empty secondList}">
       <c:set var="item2" value="${secondList[0]}" />
    </c:if>
    <c:if test="${not empty thirdList}">
       <c:set var="item3" value="${thirdList[0]}" />
    </c:if>

  • How to set enviroment variables for Inso Filter

    Hi everyone,
    I want to convert word documents to html using CTX_DOC.Filter.According to the documentation,I know I neednot set the 'Inso Filter'in the preference when creating index,but I must set enviroment variables for Inso Filter.
    I found the following instructions for it in the 8.1.5 documentation,but I can't understand it well.Is there anyone can tell me how to set enviroments variables for Inso Filter on Windows2000 Server?(My DB version is 8.1.7EE)
    Environment Variable Locations
    All environment variables related to Inso filtering must made visible to interMedia Text. Set these variables in the following locations:
    listener.ora file. This makes the environment variables visible to the extproc PL/SQL process.
    The operating system shell from where ctxsrv server is started. This makes the environment variables visible to the ctxsrv process, which does background DML.
    Any suggestions are apreciated
    Reemon
    null

    NSAPI plugins are normally configured using parameters specified in magnus.conf and/or obj.conf. What plugin requires you set an environment variable?

  • How to set bind variable for a VO ,

    Hi,
    i got a requirement in which i have to set bind variable for VO , But the Bind variable is coming from payload attribute,
    For example my query in VO is select * from Employee where emp_id="payload attribute"
    How to set this attribute value is from the payload
    Thanks Regard
    Rajendar

    Hi i am getting this exception " Cannot create an object of type:java.lang.Number from type:oracle.bpel.services.datacontrol.data.DataObject with value:21159"
    Actually i am getting Decimal Value from Payload of BPEl process and i am trying to set this to The bind variable
    is that a type cast exception where can i typeCast Those values You should this in a new thread.Dont ask questions out of the scope of this thread.
    Please mark this thread as answered or helpful if you got solution for this thread.
    Thanks!!!

  • How to set bind variables for child VO in hierarchy component?

    Hi,
    Recently I created a application with Hierarchy Component with Parent VO (Query based VO with Bind variables in it) and its Child VO along with Child-Child VO(Query based VO with bind variable in it)
    I am able to set bind variable of parent VO but unable to set bind variable for Child-Child VO. Can any one help me regarding this issue?

    Hi i am getting this exception " Cannot create an object of type:java.lang.Number from type:oracle.bpel.services.datacontrol.data.DataObject with value:21159"
    Actually i am getting Decimal Value from Payload of BPEl process and i am trying to set this to The bind variable
    is that a type cast exception where can i typeCast Those values You should this in a new thread.Dont ask questions out of the scope of this thread.
    Please mark this thread as answered or helpful if you got solution for this thread.
    Thanks!!!

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

  • Problem in setting the parameters for an OASingleSelectionBean

    Hi,
    I have created an advanced table, for which I have to allow single selection or mutliple selection according to my requirements ie dynamically. So, for single selection, I have created a OASingleSelectionBean dynamically and add this to my advanced table bean.
    I also want to set Action for the single selection option. I have set the action using
    setPrimaryClientAction() which takes an argument of oracle.cabo.ui.action.FirePartialAction class. Now I also want to pass certain parameters when the single selection event happens.
    For that, I have taken an object of FirePartialAction class and but using the FirePartialAction class .setParameters(oracle.cabo.ui.collection.Parameter[]) function. I am setting the parameters using
    Parameter class object.setKey
    Parameter class object.setValue
    But my problem is that I want the value for the parameters at runtime, for which I intend to use SPEL. But I am not able to use SPEL using the setValue method.
    So it goes like this in short:
    OAAdvancedTableBean.setTableSelection(OASingleSelectionBean)
    OASingleSelectionBean.setPrimaryClientAction(FirePartialAction)
    FirePartialAction.setParameters(Parameter[])
    Parameters.setKey(String)
    Parameters.setValue(String) --- In case of value I want to give SPEL as an argument as I get the value at rutime
    Is that any other way in which I can set the value for the parameters using SPEL?

    Hi,
    I got ur point.
    Although i have never tried.........Can you try using method
    Parameters.setValueBinding(new OADataBoundValueViewObject(<single selectionbean>,<vo attr>))
    In this way without the use of SPEL, you will be able to achieve the functionality!
    Try this and get back to me!
    --Mukul
    Message was edited by:
    Mukul Gupta

  • How to set boot variable for standby Sup2 in 6500?

    I'm upgrading a 6500 with dual Sup2. Have copied the new boot image and system image to both bootflash and slavebootflash. Have also set new boot statements for the active Sup.
    However couldn't set the boot variables for the standby Sup. Do I need to? Will the boot statements in the startup config take care both Sup's?
    Thanks
    Gary

    If you do a wr mem, it should synchronize. You can verify using sh bootvar. Here is outputs from my lab
    Router#sh bootvar
    BOOT variable = sup-bootflash:c6sup22-jsv-mz.121-26.E3,1
    CONFIG_FILE variable =
    BOOTLDR variable =
    Configuration register is 0x2102
    Standby is up
    Standby has 227328K/34816K bytes of memory.
    Standby BOOT variable = sup-bootflash:c6sup22-jsv-mz.121-26.E3,1
    Standby CONFIG_FILE variable =
    Standby BOOTLDR variable =
    Standby Configuration register is 0x2102

  • Please please give the neat way to set environmental variables for tomcat

    Please forgive me to create a new post for this topic which have been created by many. i have configured tomcat and set enviromental variables in xp before, when i formatted my system everything washed out.
    i configured tomcat with the help of post in this community which have been clearly explained but i could nt trace that post nw.
    so do tell me how many environmental variables i should set with eg, earlier i have created four. i am badly needs to work in tomcat.
    note : i dont want to set using command prompt

    Mahesh_yeswecan wrote:
    i configured tomcat with the help of post in this community which have been clearly explained but i could nt trace that post nw. Your posting history is here

  • Problem in setting desired position for JPanel in JScrollPane!!!

    Dear Friends,
    I am having problem to set desired Scrollable(JScrollPane) JPanel position. I have a JPanel in a JFrame which is scrolable with lot of objects. It automatically displays on the top position inside JScrollPane, I want to set scroll position on the middle for the panel.
    I went through the search for the same in this forum, i found some posts related to this but they are linked with JTextArea(setCaretPosition). With JPanel i can't set caret position.
    Could anyone guide me how to set the scroll position on middle.
    Regards..
    Jayshree

    Replace:
    if(view.getValueAt(row,column) instanceof ImageIcon){
            ((Component)view.getColumnModel().getColumn(column).getCellRenderer().
            getTableCellRendererComponent(view,view.getValueAt(row,column),true,true,row,column)).setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
          else
            ((Component)view.getColumnModel().getColumn(column).getCellRenderer().
            getTableCellRendererComponent(view,view.getValueAt(row,column),true,true,row,column)).setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
          }with:
    if(view.getValueAt(row,column) instanceof ImageIcon)
            view.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
          else
           view.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

  • Is it possible to set bind variable for picklist?? for messageChoice

    we are trying to develop one new page in local JDeveloper.
    we have requirement for passing a bind variable to a picklist. is it possible?
    Item Type : messageChoice
    Query:
    SELECT DISTINCT TO_CHAR (effective_date, 'YYYY') TYPE
    FROM pay_assignment_actions a, pay_payroll_actions b
    WHERE a.payroll_action_id = b.payroll_action_id
    AND assignment_id =
    (SELECT assignment_id
    FROM per_assignments_x
    WHERE person_id = :person_id AND primary_flag = 'Y'
    AND assignment_type = 'E')
    AND a.action_status = 'C'
    AND b.payroll_action_id IN (SELECT payroll_action_id
    FROM pay_payroll_actions_v
    WHERE action_type IN ('P'))
    AND b.payroll_action_id IN (SELECT payroll_action_id
    FROM xxilo_pre_payments)
    ORDER BY 1 DESC
    processRequest() code:
    PayslipAMImpl am=(PayslipAMImpl)pageContext.getApplicationModule(webBean);
    YearPicklistVOImpl yvo=(YearPicklistVOImpl)am.getYearPicklistVO1();
    Number t = new Number(pageContext.getEmployeeId());
    yvo.setWhereClauseParams(null);
    yvo.setWhereClauseParam(0,t);
    for this query & code we are getting
    ERROR:
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    if we hardcoded person_id in query to some value then we are getting results without any error.

    user603084 ,
    In the query you have specifies bind variable as :person_id , but in your VO execution code you are setting value for bind variable :1
    yvo.setWhereClauseParam(0,t);
    You need to change the bind variable in query , like :1
    and then execute the query of VO, as you have done. Also do executeQuery, after setting bind variables.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do I set global variables for use by ALL form1.#subform[0] items?

    Hi All,
    I know how to code javascript but am new to Adobe LiveCycle.  When I open script editor, I have the following code (all code is in un-bolded):
    ----- form1.#subform[0]::initialize: - (FormCalc, client) ------------------------------------------
    // BEGIN: SET GLOBAL PRICES //
    var Cityscope_Sydney_CostUser1 = 60.39;
    var Cityscope_Sydney_CostUsers2to5 = 3.02;
    var Cityscope_Sydney_CostUsers6to20 = 1.21;
    var Cityscope_Sydney_CostHardCopyWithOnline = 14.59;
    var Cityscope_Sydney_CostHardCopyWithoutOnline = 54.67;
    var Cityscope_Sydney_CostHardCopyAdditional = 14.59;
    var Cityscope_NorthSydney_CostUser1 = 48.40;
    var Cityscope_NorthSydney_CostUsers2to5 = 2.42;
    var Cityscope_NorthSydney_CostUsers6to20 = 0.97;
    var Cityscope_NorthSydney_CostHardCopyWithOnline = 14.59;
    var Cityscope_NorthSydney_CostHardCopyWithoutOnline = 43.54;
    var Cityscope_NorthSydney_CostHardCopyAdditional = 14.59;
    // END: SET GLOBAL PRICES //
    ----- form1.#subform[0]::enter: - (FormCalc, client) -----------------------------------------------
    ----- form1.#subform[0]::exit: - (FormCalc, client) ------------------------------------------------
    ----- form1.#subform[0]::calculate: - (FormCalc, client) -------------------------------------------
    ----- form1.#subform[0]::validate: - (FormCalc, client) --------------------------------------------
    ----- form1.#subform[0]::preSave - (FormCalc, client) ----------------------------------------------
    <<======= etc etc etc =======>>
    ----- form1.#subform[0].Item1Cost::initialize: - (JavaScript, client) ------------------------------
    ----- form1.#subform[0].Item1Cost::enter: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Cost::exit: - (FormCalc, client) --------------------------------------
    ----- form1.#subform[0].Item1Cost::calculate: - (JavaScript, client) -------------------------------
    //Store form values in user-friendly names.
    var AreaSelected = Item1Area.rawValue;
    var NumberOfUsersSelected = Item1Users.rawValue;
    //Declare other vars.
    var Users1Calculation;
    var Users2to5Calculation;
    var Users6to20Calculation;
    //Calculate individual User Cost "components" based on number of users selected for the area.
    switch(true)
    case (NumberOfUsersSelected < 2):
      Users1Calculation = NumberOfUsersSelected * Cityscope_Sydney_CostUser1;
      Users2to5Calculation = 0.00;
      Users6to20Calculation = 0.00;
      break;
    case (NumberOfUsersSelected > 1 && NumberOfUsersSelected < 6):
      Users1Calculation = Cityscope_Sydney_CostUser1;
      Users2to5Calculation = (NumberOfUsersSelected - 1) * Cityscope_Sydney_CostUsers2to5;
      Users6to20Calculation = 0.00;
      break;
    case (NumberOfUsersSelected > 5):
      Users1Calculation = Cityscope_Sydney_CostUser1;
      Users2to5Calculation = 4 * Cityscope_Sydney_CostUsers2to5;
      Users6to20Calculation = (NumberOfUsersSelected - 5) * Cityscope_Sydney_CostUsers6to20;
      break;
    default:
      alert("BROKEN: Calculate individual User Cost components based on number of users selected for the area.");
    //apply total cost for this item
    Item1Cost.rawValue = Users1Calculation + Users2to5Calculation + Users6to20Calculation;
    ----- form1.#subform[0].Item1Cost::validate: - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Cost::mouseEnter: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Cost::mouseExit: - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Cost::change: - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Cost::full: - (FormCalc, client) --------------------------------------
    ----- form1.#subform[0].Item1Cost::mouseUp: - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::mouseDown: - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Cost::click: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Cost::preSave - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Cost::postSave - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::prePrint - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::postPrint - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Cost::preSubmit:form - (FormCalc, client) -----------------------------
    ----- form1.#subform[0].Item1Cost::docReady - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::docClose - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::ready:form - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Cost::ready:layout - (FormCalc, client) -------------------------------
    ----- form1.#subform[0].Item1Users::initialize: - (FormCalc, client) -------------------------------
    ----- form1.#subform[0].Item1Users::enter: - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Users::exit: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Users::calculate: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::validate: - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Users::mouseEnter: - (FormCalc, client) -------------------------------
    ----- form1.#subform[0].Item1Users::mouseExit: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::change: - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Users::full: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Users::mouseUp: - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::mouseDown: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::click: - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Users::preSave - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Users::postSave - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::prePrint - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::postPrint - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Users::preSubmit:form - (FormCalc, client) ----------------------------
    ----- form1.#subform[0].Item1Users::docReady - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::docClose - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::ready:form - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::ready:layout - (FormCalc, client) ------------------------------
    ...and so on and so forth....
    In short, I want the code within:
    ----- form1.#subform[0].Item1Cost::calculate: - (JavaScript, client) -------------------------------
    ...to be able to access the variables I have created in:
    ----- form1.#subform[0]::initialize: - (FormCalc, client) ------------------------------------------
    (I have assumed that this is where I would store Global variables)
    At this stage, the global variables cannot be accessed with the configuration above.  The only was I can get this to work is to cut and paste the global vairables into each form1.#subform[0] item, which of course defeats the purpose of global variables!  I plan to have many more items so would not want to duplicate the global variables for all of them!
    Can somebody show me how to do this?
    Any help is very much appreciated!
    Thanks
    Stanbridge
    Message was edited by: stanbridgej - colors and or fonts won't save.  Have bolded my question to make code (non-bolded) easier to read (I hope).

    Hi MorisTM,
    Thanks for the reply!
    Yes, I saw that option (I should have mentioned I already knew about it), but was wondering if there is a way I can do this via code.
    There are two reason I want to be able to do it via code (only one of which may be valid):
    1) I can automatically generate my pricing code form another inhouse app.
    2) I am hoping that later on once I get this working I will be able take it a step further and get the data directly from a MySQL database!
    Cheers though!
    Any other suggestions?
    Regards,
    Stanbridge

  • Set tasksequence variable for cmd-file

    I have a cmd file which i want to use in my tasksequence. Actually the cmd-file needs the PC-Name and another Variable. I thought i can use tasksequence variables for that. I wonder how i can use a tasksequence variable in a cmd-file.
    I dont want to rewrite the whole cmd-file to powershell or VBscript.
    Any suggestions?

    With a .bat file you could use something like:
    RunCMD.bat %Variable%
    and inside your bat file you can use %1% that will get the Variable.
    For exemple with the computer name that would give: RunCMD.bat %_SMSTSMachineName%
    Don't know if you can add 2 variables in the command line and then use %1% and %2%
    Second option would be to use a vbscript or powershell instead of a cmd file.

  • Problem of setting Priority type for notification category

    Dear Expert,
    I have created a new notification type and number range have been created for that notification. Actuaaly i am facing problem when i craete notification for that type which is I have created then after entering in IW2, show error message "Priority type not maintained for notification category".
    I also want "Field displaying user status" and "Control box" for My notification of showing fields.
    Please suggest me how solve this error and field displaying.
    Thanks & Regards,
    Deepak

    Hi,
    In addition to above response, also customize the following:
    Define Action Box -> Define Follow-Up Functions
    Notification Types ->Activities ->Dependent Follow-Up Functions ->Define Follow-Up Actions for Tasks-> Define follow-up actions
    Follow-up actions -> Function modules.
    Regards,
    Lucky

  • Facing problem in setting follow up for email

    I am trying to set an email for follow up using the EWS managed api. I followed these links 
    http://social.msdn.microsoft.com/Forums/office/en-US/bce82c8c-a534-4713-a38d-169620c0cffd/ews-set-followup-on-an-email?forum=exchangesvrdevelopment">//social.msdn.microsoft.com/Forums/office/en-US/bce82c8c-a534-4713-a38d-169620c0cffd/ews-set-followup-on-an-email?forum=exchangesvrdevelopment
     and 
    http://social.technet.microsoft.com/Forums/office/en-us/8fccfcf9-e7ea-43b2-821d-2fb611855428/ews-managed-api-setting-followup-flags-consistent-with-outlook?forum=exchangesvrdevelopment">social.technet.microsoft.com/Forums/office/en-us/8fccfcf9-e7ea-43b2-821d-2fb611855428/ews-managed-api-setting-followup-flags-consistent-with-outlook?forum=exchangesvrdevelopment
    for some guidance but it still i am sure i am missing many things here. The xml i send for updating flagstatus is 
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    <soap:Header>
                  <t:RequestServerVersion Version="Exchange2013"></t:RequestServerVersion>
              </soap:Header>
    <soap:Body>
    <UpdateItem ConflictResolution="AutoResolve" MessageDisposition="SaveOnly">
    <ItemChanges>
    <t:ItemChange>
                                       <t:ItemId Id="AAMkAGEyNzAwYzc3LTkwZTgtNGI2MC05MzVkLTNjMjQzYTgyODc2OQBGAAAAAAA3WMO+ZnF/QrCdez0LEjxsBwB2Nkz9SQDSSozr39zl7KzqAAAAAAENAAB2Nkz9SQDSSozr39zl7KzqAACdlFOTAAA=" ChangeKey="CQAAABYAAAB2Nkz9SQDSSozr39zl7KzqAACdnI3c"></t:ItemId>
    <t:Updates>
    <t:SetItemField>
                                                     <t:FieldURI FieldURI="message:IsRead"></t:FieldURI>
    <t:Message>                                                        
    <t:ExtendedProperty>
                                                                   <ExtendedFieldURI PropertyTag="0x1090" PropertyName="FlagRequest" PropertyId="0" PropertyType="String"></ExtendedFieldURI>
                                                                   <Value>2</Value>
                                                                   <Values></Values>
                                                               </t:ExtendedProperty>
                                                            <t:IsRead>false</t:IsRead>
                                                        </t:Message>
                                                 </t:SetItemField>
                                          </t:Updates>
                                   </t:ItemChange>
                            </ItemChanges>
                     </UpdateItem>
              </soap:Body>
       </soap:Envelope>
    Using this i am getting "The request failed schema validation" as i am sure there a lot many things i
    need to properly while setting the extended property type. 
    I have looked up over google and in msdn forum but am still unclear what needs to be done to achieve it. 
    Can some one please explain, possibly in detail, how this can be done? Whether the way i am updating the item as in xml above is totally wrong or it misses some basic idea.
    Thanks 
    Madhur

    Hi,
      We have also to support exchange 2010 for flagging. Apart from links above i had been looking into this link
    http://social.technet.microsoft.com/Forums/en-US/f949a75d-070b-455e-82b6-01f1674de111/ews-adding-due-date-to-flagged-message?forum=exchangesvrdevelopment
    and sending this request XML for exchange2010 
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2010_SP1"></t:RequestServerVersion>
    </soap:Header>
    <soap:Body>
    <UpdateItem ConflictResolution="AutoResolve" MessageDisposition="SaveOnly">
    <ItemChanges>
    <t:ItemChange>
    <t:ItemId Id="AAMkADU4YWJjNjhkLTE4OWYtNGJmNy1iOTIzLTRlNGVjNDFmYTBhNABGAAAAAAA+3eJWXGVyTLYpBc0G1f+2BwCWtgWpIkfLQ4VqkhNzipUqAAAAP4L0AACWtgWpIkfLQ4VqkhNzipUqAAAASbfZAAA=" ChangeKey="CQAAABYAAACWtgWpIkfLQ4VqkhNzipUqAAAATyTc"></t:ItemId>
    <t:Updates>
    <t:SetItemField>
    <t:Message>
    <t:ReminderIsSet>false</t:ReminderIsSet>
    <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart>
    <t:ExtendedProperty>
    <ExtendedFieldURI PropertyTag="0x1090" PropertyName="FlagStatus" PropertyId="0" PropertyType="Integer"></ExtendedFieldURI>
    <Values></Values>
    </t:ExtendedProperty>
    <t:IsRead>false</t:IsRead>
    </t:Message>
    </t:SetItemField>
    </t:Updates>
    </t:ItemChange>
    </ItemChanges>
    </UpdateItem>
    </soap:Body>
    </soap:Envelope>
    But facing some issues with which is surely incorrect. Can someone let me know what should be a proper request xml format for flag status in exchange2010. And also fi possible some other related links which could be helpful in understanding the xml format
    to be send.
    Thanks,
     Madhur Rawat

Maybe you are looking for