Can a project variable be initialized

Hi all,
I am very new to ALBPM. I was going through an old tutorial of ALBPM ( it is a FEUGO BPM tutorial ). There in one place we have to make a business variable and initilize it.
Now I know that the business variables are same as Project variables in case of AL BPM v 6.0. But I can not see any way of initializing the same ( there is a provision for specifying the range but no provision for giving a default value ).
Is there any way I can give a default value to a project variable ( much like constants in programming languages ).
- Thanks ,
Anindya

Hi all,
You can please ignore this. Actually I was trying to figuree out something like static constants in Java for ALBPM. I think I have figured it out I have to define a business variable with a default value.
Cheers, Anindya

Similar Messages

  • How can i initialize variables and append variable in bpelx:exec

    I want to know how to initialize variables in bpelx:exec.
    I try to use java embedded activities for dynamic sql query. But I meet some problems that cannot assign the data to tempVariable. because I don't initialize tempVariable. but I can't initial variables in java embedded actitvities. How can i initialize variables in bpelx:exec ?
    and I want to know to extend child Elment of tempVariables dynamically in bpelx:exec ?
    here is my source.
    <bpelx:exec name="callEmpDB" language="java" version="1.5">
    <![CDATA[
    String url = "jdbc:oracle:thin:@127.0.0.1:1521:wonchoi";
    String user = "scott";
    String passwd = "tiger";
    int index = 1;
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    Node node = null;
    try{                             
    conn = DriverManager.getConnection (url, user, passwd);
    stmt = conn.createStatement();
    String wherescript = "";
    Element empno = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:empno");
    Element ename = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:ename");
    Element job = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:job");
    Element deptno = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:deptno");
    String sql = "select empno, ename, job, mgr, hiredate, sal, comm, deptno from emp where 1 = 1 ";
    if(empno != null && empno.getTextContent() != null && !empno.getTextContent().equals("") )
    wherescript = wherescript + " and empno = " + empno.getTextContent() ;
    if(ename != null && ename.getTextContent() != null && !ename.getTextContent().equals("") )
    wherescript = wherescript + " and ename like '" + ename.getTextContent() +"' " ;
    if(job != null && job.getTextContent() != null && !job.getTextContent().equals("") )
    wherescript = wherescript + " and job = '" + job.getTextContent() +"' ";
    if(deptno != null && deptno.getTextContent() != null && !deptno.getTextContent().equals("") )
    wherescript = wherescript + " and deptno = " + deptno.getTextContent() ;
    sql = sql + wherescript;
    System.out.println("sql : "+sql);
    rs = stmt.executeQuery(sql) ;
    while (rs.next())
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:EMPNO", rs.getString("empno"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:ENAME", rs.getString("ename"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:JOB", rs.getString("job"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:MGR", (rs.getString("mgr")==null? "": rs.getString("mgr")));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:HIREDATE", rs.getString("hiredate"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:SAL", rs.getString("sal"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:COMM", rs.getString("comm"));
    setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:DEPTNO", rs.getString("deptno"));
    index++;
    }catch(SQLException sex){                          
    System.out.println("sql error");
    }catch(Exception ex){                             
    System.out.println("error");
    }finally{                             
    try{                      
    rs.close();
    stmt.close();
    conn.close();
    }catch(Exception ex){}
    }]]>
    </bpelx:exec>
    and here is tempVariable examples and schema.
    <tempVariable>
         <part name="payload">
              <selEmpOutputCollection>
                   <selEmpOutput>
                   <EMPNO/>
                   <ENAME/>
                   <JOB/>
                   <MGR/>
                   <HIREDATE/>
                   <SAL/>
                   <COMM/>
                   <DEPTNO/>
              </selEmpOutput>
              <selEmpOutputCollection>
         </part>
    </tempVariable>     
    <xsd:element name="selEmpOutputCollection" type="selEmpOutputCollection"/>
    <xsd:element name="selEmpOutput" type="selEmpOutput"/>
    <xsd:complexType name="selEmpOutputCollection">
    <xsd:sequence>
    <xsd:element name="selEmpOutput" type="selEmpOutput" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="selEmpOutput">
    <xsd:sequence>
    <xsd:element name="EMPNO" type="xsd:decimal" nillable="true"/>
    <xsd:element name="ENAME" type="xsd:string" nillable="true"/>
    <xsd:element name="JOB" type="xsd:string" nillable="true"/>
    <xsd:element name="MGR" type="xsd:decimal" nillable="true"/>
    <xsd:element name="HIREDATE" type="xsd:dateTime" nillable="true"/>
    <xsd:element name="SAL" type="xsd:decimal" nillable="true"/>
    <xsd:element name="COMM" type="xsd:decimal" nillable="true"/>
    <xsd:element name="DEPTNO" type="xsd:decimal" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    thanks

    My bpel project flow is as follows.
    First, I initalize the temp varialbe like this.
    <assign name="setInitialVar">
    <copy>
    <from>
    <ns1:selEmpOutput xmlns:ns1="http://lgesoa.lge.com/EmpSpec/types">
    <ns1:EMPNO/>
    <ns1:ENAME/>
    <ns1:JOB/>
    <ns1:MGR/>
    <ns1:HIREDATE/>
    <ns1:SAL/>
    <ns1:COMM/>
    <ns1:DEPTNO/>
    </ns1:selEmpOutput>
    </from>
    <to variable="tempVariable" part="payload"
    query="/ns1:selEmpOutputCollection/ns1:selEmpOutput"/>
    </copy>
    </assign>
    Second, get Data(ex. 10 Employee Information List) from DB for useing Java embedded activity.
    Third, assing employee info to tempVariable, then BPEL assign just only one Employee Information. and next data can't assign and the BPEL make an error.
    here is my error message..
    <2007-03-02 11:23:26,125> <ERROR> <default.collaxa.cube.engine> <BPELXExecLet::setVariableData>
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=oracle.xml.parser.v2.XMLElement@15f80b}}
         at com.collaxa.cube.xml.dom.DOMUtil.copy(DOMUtil.java:536)
         at com.collaxa.cube.engine.ext.BPELXExecLet.setVariableData(BPELXExecLet.java:721)
         at com.collaxa.cube.engine.ext.BPELXExecLet.setVariableData(BPELXExecLet.java:700)
         at bpel.selconnectdb.ExecLetBxExe4.execute(ExecLetBxExe4.java:160)
         at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:49)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    I analyzed the problem. and I find the reason that is I just assing one XML flag to the temp variable. If i don't initalize the varaible like first step, BPEL make an error above error message.
    thanks
    Won.

  • Ensuring that variable is initialized only once in a movieclip

    Guys, what is the way to ensure that variable is initialized only once in each instance of a movieclip?
    I tried:
    if (!isLocked)
        trace("setting up isLocked variable");
          var isLocked:Boolean = new Boolean(false);//I need this variable to be initialized only once for each instance of this movieclip and to value of false
    but this doesn't work.
    Any ideas?

    Note that new Boolean() makes zero sense. And this is the beef I have with the convention of checking for existence with !someVariable. Because inexperienced programmers will use that logic with Boolean (which always exists if you're checking it, but is either true or false) or Numbers, which might exist with a value of zero and will make that expression false.
    Try
    if (!this.hasOwnProperty('isLocked')) {
         var isLocked:Boolean = true;
    This may not work because of variable hoisting in AS. It's hard to know what the addFrameScript code will do to this in the background.
    Note that you can avoid this by using a proper Class with accessors and mutators and avoiding timeline code.

  • In the shared variable properties box, when enabling aliasing, what is the difference between binding to a project variable vs. to a psp url

    In the shared variable properties box, specifically with regard to a the target being an rt target, when enabling aliasing, what is the difference between binding to a project variable vs. to a psp url?

    The difference is in the type of variable you are binding it to.  A project variable is a variable that lives within the specific project in which it was created.  A PSP URL is an address using the Publish-Subscribe Protocol (PSP).  You can learn more about PSP URLs here: http://zone.ni.com/reference/en-XX/help/371361G-01/lvconcepts/using_datasocket_technology/#Specifyin...
    PSP URLs will enable it to communicate between different machines and also between projects which may or may not be open.  The project variable will exist within the project.
    Julian R.
    Applications Engineer
    National Instruments

  • Using filter in PAPI-WS to search instances based on project variables

    Hi All
    I wanted to search the BPM instances from my external application. Used PAP-WS to do that.
    To be precise, I was using the filterbean, and have set the process scope, status scope, and the variable on which I want to filter.
    However, I noticed that if the variable specified in the filter is a 'project' variable instead of the 'instance' variable for the process, then BPM does not
    search the instances and throws an exception.
    The code works fine if the variable in filterbean is an instance variable in the process.
    Is it possible to search for the processes based on the values of project variables?
    Below is the code snippet and the exception details.
    Code snipppet:
    PapiWebService port = initializePapiWS(participantId); //private method, dont bother about this
    ProcessIdSetBean b = new ProcessIdSetBean();
    List<String> processids = b.getProcessIds();
    processids.add("/MYPROCESS");
    FilterBean fb = new FilterBean();
    SearchScopeBean ssb = new SearchScopeBean();
    ssb.setParticipantScope(ParticipantScope.ALL);
    ssb.setStatusScope(StatusScope.ALL);
    fb.setSearchScope(ssb);
    List<FilterAttributeBean> fabList = fb.getAttributes();
    FilterAttributeBean fab =new FilterAttributeBean();
    fab.setVariableId("messageNo");
    fab.setComparison(Comparison.IS);
    fab.setValue("123");
    fab.setIsParametric(false);
    fabList.add(fab);
    InstanceInfoBeanList iabl = null;
    try{
    iabl = port.processesGetInstancesByFilter(b, fb);
    catch (OperationException_Exception ex)
    Exception:
    An exception occurred while executing a transaction. Details:
    An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
    Caused by: Syntax error: Encountered "null" at line 1, column 575.
    fuego.transaction.DatabaseException: An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.getInstancesByFilter(JdbcProcessInstancePersMgr.java:527)
         at fuego.server.persistence.Persistence.getInstancesByFilter(Persistence.java:329)
         at fuego.server.ProcessInstanceManager.getInstancesByFilter(ProcessInstanceManager.java:132)
         at fuego.server.AbstractProcessBean$34.execute(AbstractProcessBean.java:1666)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
         at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
         at fuego.server.AbstractProcessBean.getInstancesByFilter(AbstractProcessBean.java:1660)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)

    Hi Mikael,
    Thank you for your input. Sorry for my delayed response, I was not alerted that anyone had replied. Anyway, the code you show above, as far as I know, will sort the results by a formula, but not limit results to that formula. For now we've temporarily settled
    on this approach of sorting by distance as this still gives value to the end user. We can also write some JavaScript to display the distance for each item using the longitude and latitude values for each item.
    In my mind that query above needs something similar to "between dates" (i.e. Range) syntax whereas we would need "within a geolocation distance".
    I admit that my knowledge of refiners is not great so I might just need to spend some time with them to understand this all better but at the moment I still don't see how you limit the result set. You could limit the results in JavaScript after the search
    has run (i.e. hide items that aren't within the given distance) but this would break the interaction with the other refiners on the page, especially if they are displaying counts (that are based on the original query). Unless there is an event
    we can hook into and filter the search results as a last step before they (and the refiners) are rendered on the page?
    Thanks for your input,
    James.

  • Business parameter and project variables

    I want to know if Business parameter can be used in place of a prpject variable. My understanding is project variables require an alter command on the DB script during deployment and it is limited to 150 for 1 engine. Hence we dont want to use them. Also wanted to know where are business variables stored in the DB schema. Is there any place where we can get the Engine DB and Directory DB model with relationships and attribute details so that I can understand the system better

    I should have been clearer. A business parameter is not used to store information about a specific instance flowing through the life of a process. They are used as "constants" (quotes around this are explained in my thread above) that can be changed by business owners. They are different than project and instance variables in that:
    1) Business Parameters are global - this means that their value is the same for all processes running on the Engine (e.g. if MIN_CREDIT_SCORE is set to 650 by a business owner, then all instances in all processes that use this know it's value is 650). Both project and instance variable values are unique to each individual work item instance running on a specific process on an Engine.
    2) Business Parameters are infrequently changed and if a business owner changes them to another value, all instances running on the Engine will see the new value.
    3) The global value of business parameters are stored in the Directory Service database. Project and instance variables are stored in the Engine's database.
    4) Business Parameters are not something that you would want to run a BAM report on since their values are global and not specific to a particular work item instance. Again, it's better to think of them as constants. They're not going to help you with BAM reporting.
    Hope this helps,
    Dan

  • Project Variable limitation in Oracle 11G BPM

    hi,
    Is there any limitation with Oracle 11G BPM on the number of project variable that can be created for a given BPMN processs ??
    example , instance is not getting created if the number of int Project variable is more than 10. If there are 10 INT project variable , instance getting created ...
    Thanks

    Hi,
    Oracle doesn't provide the source code 11g Worklist. If you want to customize the existing worklistapp, then you can try modifying the jsfs in exploded directory, but that requires tedious knowledge in ADF.
    I would recommend to write your custom worklist app. Oracle provides various taskflows available in JDeveloper, you can just include them in the application to make things work.

  • Archive Viewer not showing project variables in filter conditions

    Hi !
    This is a strange issue. We have a full archive database. The viewer displays all the process we have deployed. We can see the contents of the archive without problems. We have also defined like 15 project variables. If we take a look at the filter conditions combo box, we only see predefined conditions for filtering. The first option of this condition is empty. If we look at the html source of this jsp page thru the browser (look for the "updateAddFAT" javascript function), we see that there is indeed java code mentioning one of our project variables in the combo box, and it its the one with no label (or blank one). So, if we choose this blank condition and complete the right value in the value text box, then the filter returns all the instances that apply to that condition using the project variables.
    The problem is: we don't get all the project variables in the filter combo box. This makes the archive viewer very useless, because business users need to search archived instances filtering by project/business variables.
    Anyone experienced this? Anyone is seeing correctly the project/business variables in the condition combo of the archive viewer? if you do, please share the version and patch you are using.
    Thank you !
    Regards,
    Matias.

    What I verified somehow, that if I add let's say 3 or 4 variables, it keeps showing always the same. If I remove the one that is currently loading into the combo box, then the next one in the list is displayed, but I don't understand which filter or sort criteria is using. I went deeper in the code (jsp and jar files), but still cannot indentify the root cause, because the SQL query the jar is sending to the archive database seems to be ok (it appears in the log), at least it returns all project variables in the archive database (table VARIABLE), but somehow, some internal array or list is not filled correctly.
    Let's wait and if not, I will create a service request.
    Thanks.
    Regards,
    Matias.

  • Project variable refresh

    Hi
    I written following procedure to fick a record from view and storing it into a project variables and when I execute the scenario, I got error "java.lang.Exception: Variable has no value: ORACLEEBIZ_PAS_BULK_LOAD_PROJECT.PVV_EXPIRATION_ACTION_CODE"
    Note: "expiration_action_code" column is not a mandatory at source and target side (varchar2 data type at both(source and target) the sides)
    Please any one can help me on it and one more think, please let me know the following approch is correct or not
    BEGIN
    select
    inventory_item_id,
    item_number,
    item_description,
    primary_uom_code,
    lot_control_code,
    serial_number_control_code,
    organization_id,
    organization_code,
    age,
    best_by_date,
    change_date,
    expiration_date,
    grade_code,
    length,
    length_uom,
    lot_description,
    lot_number,
    maturity_date,
    origination_date,
    place_of_origin,
    recycled_content,
    retest_date,
    thickness,
    thickness_uom,
    volume,
    volume_uom,
    width,
    width_uom,
    expiration_action_code,
    expiration_action_date,
    parent_lot_number,
    reservable_type,
    origination_type
    into
    #PVN_INVENTORY_ITEM_ID,
    #PVV_ITEM_NUMBER,
    #PVV_ITEM_DESCRIPTION,
    #PVV_PRIMARY_UOM_CODE,
    #PVN_LOT_CONTROL_CODE,
    #PVN_SERIAL_NUMBER_CONTROL_CODE,
    #PVN_ORGANIZATION_ID,
    #PVV_ORGANIZATION_CODE,
    #PVN_AGE,
    #PVV_BEST_BY_DATE,
    #PVV_CHANGE_DATE,
    #PVV_EXPIRATION_DATE,
    #PVV_GRADE_CODE,
    #PVN_LENGTH,
    #PVV_LENGTH_UOM,
    #PVV_LOT_DESCRIPTION,
    #PVV_LOT_NUMBER,
    #PVV_MATURITY_DATE,
    #PVV_ORIGINATION_DATE,
    #PVV_PLACE_OF_ORIGIN,
    #PVN_RECYCLED_CONTENT,
    #PVV_RETEST_DATE,
    #PVN_THICKNESS,
    #PVV_THICKNESS_UOM,
    #PVN_VOLUME,
    #PVV_VOLUME_UOM,
    #PVN_WIDTH,
    #PVV_WIDTH_UOM,
    #PVV_EXPIRATION_ACTION_CODE,
    #PVV_EXPIRATION_ACTION_DATE,
    #PVV_PARENT_LOT_NUMBER,
    #PVN_RESERVABLE_TYPE,
    #PVN_ORIGINATION_TYPE
    from
         MTL_OPSM_LOT_EXPORT_V
    where
         item_number='#PVV_ITEM_NUMBER' and
         organization_ID=#PVN_ORGANIZATION_ID and
         lot_number='#PVV_LOT_NUMBER';
    END;
    Thanks
    Phani

    Hi,
    (Sorry my friend , I dont have ODI installed in my current system to do testing for you :- ) )
    please try the below one alone :- (for debugging - remove other columns and try )
    SELECT select nvl(expiration_action_code,'')
    INTO
    #PVV_EXPIRATION_ACTION_CODE
    FROM MTL_OPSM_LOT_EXPORT_V
    Is this working if values is there for expiration_action_code ?
    Also do a try with:- ( put your variable in between single quotes ' )
    SELECT select nvl(expiration_action_code,'')
    INTO
    '#PVV_EXPIRATION_ACTION_CODE'
    FROM MTL_OPSM_LOT_EXPORT_V
    Regards,
    Rathish A M

  • Can we declare primary as initially deferred deferrable

    Hi,
    Anyone know Can we declare primary as initially deferred deferrable...What is the syntax like?
    Thank You....

    Left's first look at the approach you use.. 2 SQL statements that can be done using a single SQL statement.
    Actually it is not as bad as some other code posted here where people go and write complex PL/SQL code to do what could have been done using a single SQL statement.
    There are a couple of golden rules in Oracle development. One of these is to 'Maximise SQL and Minimise PL/SQL'.
    Why take a value from one SQL statement into PL/SQL and then use that value in a second SQL statement?
    Rather do this:
    select
    fn into n
    from table2
    where id like (Select a from table1 where b like b_new);Also keep in mind that in PL/SQL the above SQL construct is only able to fetch a single row - look at the bold above. The variable N can only hold a single value. If that SQL SELECT returns more than one value, how is variable N suppose to hold it?
    I suggest that you read [url http://www.oracle.com/pls/db102/to_toc?pathname=appdev.102%2Fb14261%2Ftoc.htm&remark=portal+%28Books%29]Oracle® Database PL/SQL User's Guide and Reference guide.

  • Project Variables Valid Values ?

    why can't i assign a ;ist of valid values for project variables?????!!!!!

    What is the type of the project variable you are using

  • Using a Macbook 2008 with Lion 10.7.5, how can I project photos/keynote on smart tv screen? Macbook will not upgrade beyond Lion.

    Using a Macbook 2008 with Lion, 10.7.5, how can I project photos/keynote presentation on my smart tv? It is connected to tv with mini-dvi/hdmi cable, but I don't know how to display the images. Thanks!

    Did you switch the TV's input to the HDMI port you are using with the computer? Did you open Displays preferences to see if a second screen is displayed and then check the box to mirror to the TV screen? Did you search Google for any help links on how to do what you are trying to do?

  • How  can use a variable in the folowing code?

    How  can use a variable 'W_ROWNUM2' in the folowing code?
    MOVE '1' TO CNT.
    LOOP AT L_T_PM2.
                  CONCATENATE '0' CNT INTO W_ROWNUM2.CONDENSE W_ROWNUM2.
                   CONCATENATE 'F110V-VARI'W_ROWNUM2'(01)' INTO FLD2.
        perform  DYNPRO_FIELD       using FLD2
                                     L_T_PM2-vari12_con.
                   CNT = CNT + 1.
                   CONDENSE CNT.                                                              
    ENDLOOP.
    I need to increment the value of W_ROWNUM2.
    Please ,it is urgent!!

    Hello
    CONCATENATE 'F110V-VARI'W_ROWNUM2'(01)' INTO FLD2.
    Try using spaces between parts of the resulting string.
    CONCATENATE 'F110V-VARI'  W_ROWNUM2  '(01)'   INTO FLD2
    Regards
    Greg Kern.

  • Can I pass variables in the URL string?

    I am trying to get some variables into a loaded swf at
    runtime. The variables will carry information so the swf can load
    the correct xml file. I thought we could pass them through the URL
    string like so:
    new URLRequest("testing.swf?myVar=varOne
    but it just throws an URL cannot be found error. How can I
    get variables into my swf at runtime?

    What you are doing is fine. But you will always get that
    error when testing
    the movie (Ctrl+Enter). Try it in a browser and it should
    work.
    BTW, another way of doing the same is to use a URLVariables
    object, like so:
    var req:URLRequest = new URLRequest("testing.swf");
    var vars:URLVariables = new
    URLVariables("myVar=varOne&myVar2=varTwo");
    req.data = vars;

  • How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    You can use an extension to set which page to open in a new tab:
    *NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    *My Homepage: https://addons.mozilla.org/firefox/addon/my-homepage/

Maybe you are looking for