How to create buttons and link them to various views in Dashcode?

I am a big noob so try to make it easy to understand. How do get a button to link to a different view in Dashcode?
e.g.
Button 1 would link to view 1
Button 2 would link to view 2 and so on.

I Worked it out!
I just added this code which is provided in the library.
// Set the current view of a StackLayout
var stackLayout = document.getElementById('stackLayout').object; // Replace with id of StackLayout
stackLayout.setCurrentView('view2'); // Replace with id of new view (or the view element itself)

Similar Messages

  • OIM11gR2 - API - how to create accounts and link them to an oim user

    hi,
    my problem is the following:  I would like to import a lot(1000+) of different service accounts to my oim system and link them to oim users.
    at the moment, the information which service-account belongs to which person is stored in a textfile.
    I use this API code to create accounts:
    ProvisioningService service=getClient().getService(ProvisioningService.class);
    ApplicationInstanceService service=getClient().getService(ApplicationInstanceService.class);
    ApplicationInstance appInstance=service.findApplicationInstanceByName("LinuxServer001");
    FormInfo formInfo=appInstance.getAccountForm();
    String formKey=String.valueOf(formInfo.getFormKey());
    AccountData accountData=new AccountData(formKey,null,null);
    Account account=new Account(appInstance,accountData);
    account.setAccountType(Account.ACCOUNT_TYPE.Primary);       
    service.provision(userKey, account);
    this works fine! the account is displayed in the section  "user accounts", but the status of the created account is "Provisioning".
    when I reconcile this linux server, oim doesn't establish a link between the service account on the target system and the created account! why?
    how can i solve my problem? which information is missing, to establish a link between an existing account on a target system and an api created account?
    thank you!
    br,
    max

    Thanks, Brian, for your support! - It's working.
    It's hard to understand why NI did not pass this parameter to the top of the call chain...
    I also needed some time to understand the syntax of the string passed to the subaddress node:
    The name of the worksheet needs to be framed by single quotation marks and the following cell address must preceeded by an exclamation point (!).
    A working link pointing to cell "A1" of "Worksheet 1" looks like:
    'Worksheet 1'!A1
    Maybe also of interest: If you want to point the link to a worksheet inside the document itself, the parameter "address" (URL of link - href) can be left empty.
    Thanks and Regards,
    Ingo

  • How to Create Company and link with Plant

    Dear All
    Kindly help me to create Company and link with Plant and Storage Location through SPRO.
    Kindly trll me TCODE.
    Waiting for Reply
    Thanks & Regards
    Alok

    HI,
    Go to OX02 and create a company code by copying the standard company code 0001 / 1000
    Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
    OX09 - maintain storage loaction for the created plant
    OX08 - create purchase org copying from standrard 0001 / 1000
    Go to OX18 and assign your plant to company code
    OX17 assign purchase org to plant
    In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
    After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
    Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
    Thanks
    Kiran

  • Newby: how to create wkflow and link it to Create User wkflow

    I am a total newby
    I want to notifiy the user once they have been registered and send them their user name and password

    you can do this in the configure tab
    configure->process form mappings
    Process Mappings
    createUser
    change the value in the textBox to the name of your workflow

  • How to create a Tab Link in the existing view

    Hello Experts,
    My requirement is to make one view as Tab Link.
    You must have seen in many existing IC Web screens, there are multiple tabs in the view area and you can toggle between the views by clicking the tab links.
    As per my requirement, in the component ICCMP_BT_INR, in one of the views i need to create a tab link for the view Questionnaire which is part of different component ICCMP_SURVEY
    Could you please guide me here ?
    Regards,
    Srikanth

    Hi,
    I quite certain that you can do this but it is lot of work. You need to create navigations links in run time repository, create plugs, create viewset with views. And then mostly important you need to call appropriate plugs, navigations. I am afraid I can not explain every thing step by step but definitely it requires lot of details and work.
    However if you can see some existing examples then you will get an idea. One good example I have worked on is IUICMIO_MAIN and IUICMIO_METER. In this when MIO_ACCOUNT is called in MAIN, it will call two tabs from IUICMIO_METER dynamically.
    Hope this helps.
    -ASB

  • I have a windows computer. How can I create apps and put them on itunes?

    I have a windows computer. How can I create apps and put them on itunes?

    You can't. The iOS SDK requires Mac OS X and an Intel Mac; Windows applications can't be put on either the iOS or Mac OS X App Stores.
    (82889)

  • E Recruitment how to create Carrier and Job link

    Hi
    My client asking for carrier and job option in ESS, presently we are implementing to E Recruitment only
    We donu2019t have EP Consultant,
    Please any one help me how to create Carrier and Job link (we are using BSP and Webdynp)
    Regards
    eshwar

    HI,
    Go to OX02 and create a company code by copying the standard company code 0001 / 1000
    Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
    OX09 - maintain storage loaction for the created plant
    OX08 - create purchase org copying from standrard 0001 / 1000
    Go to OX18 and assign your plant to company code
    OX17 assign purchase org to plant
    In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
    After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
    Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
    Thanks
    Kiran

  • I am creating a request for proposal form and I need to add a commission structure field.  I created a table using the ranking field and now I need to delete the "dots/buttons" and turn them into text fields, is this possible?

      I created a table using the ranking field and now I need to delete the "dots/buttons" and turn them into text fields, is this possible?

    It sounds like what you are trying to do is edit the choices in a likert field to something other than the default radio button. This is not something that you can do in Formscentral at this time.
    Andrew

  • How do I create variables and store them?

    How do I create variables and store them?

    As someone already said, we need to know a little more about what you want to do with these variables, but in general, APEX Items are probably what you want. You can create APEX Items at the Application or Page level. Once you set the value of an item, you can reference it anywhere else in the application. So, if you have an item on page 1 called P1_ENAME, you can reference it on page 32 using bind variable syntax :P1_ENAME. If you just want to store but not display some information, you can use either a hidden page item or an Application Level item. Take a look at the 2 Day Developers Guide for more info.
    Tyler

  • How Can I Attach and Link an XML file to a 3D Model in a PDF?

    How Can I Attach and Link an XML file to a 3D Model in a PDF?
    What I am trying to do is find out how to have a 3D model and a parts list linked to it within the PDF file.  I would also like to be able to add to the parts list if at all possible once the pdf has been created.  A template to create future PDF's with the 3D model and list might also be useful.
    I am not entirely sure if this is all possible within a PDF file, but I have viewed a PDF (Adidas Trainer) example which has a Excel file attached to it which links to the 3D model.  I have also had a look at partner products such as Lattice, Tetra4D, Anark, which can do animations and all sorts, but frankly it seems a bit overkill for what I am looking to do.
    Please, any help would be appreciated.  Thanks

    AlliCT59 wrote:
    > Shared Object sounds like it would work, but hten agian,
    I'm really stuck!
    >
    > Thanks for any help.
    >
    > Allison
    I wrote about it while ago, let me paste the whole thing.
    This example has simple
    buttons which upon click go to new sites and in the same time
    place record in form
    of *.SOL file on user drive. That record is read when you hit
    the next button and
    based on that the button will be selected as the one last
    clicked.
    You could use the very same thing just instead of suppressing
    button simply gotoAndPlay frame
    to continue the part you need.
    http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/36649453 1f4fd02d/245a57d0cdaa1d29?lnk=st&q=&rnum=3&hl=en#245a57d0cdaa1d29
    The source is in a different place, i re-upload for you :
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/
    fla file
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/beentourl.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • Create BP and link to HR minimaster

    hi,
    There are employee entries in HR minimaster and now i want to create BP's for each of these employees and link them back to HR minimaster.  I want to use these resources in cProjects for staffing.  Pls let me know what is the best way to do this.
    Thanks in advance.
    sujata.

    Sujata;
    Please read this:
    Business partners are not integrated with the HR application components from the ERP system in the standard system. Therefore, HR master data is not distributed in Project Management. You create business partner master records with the BP role 'employee' in the standard system for your employees.
    When you have implemented the HR application components in the ERP system, we recommend that you integrate the business partners with the HR application components. In this case, you cannot create any business partner master records with the BP role 'employee' in Project Management.
    To integrate the business partners with the HR application components:
    1. Perform the activity.
      The HR: Set Up Central Person screen appears.
    2. Set the value X for the semantic abbreviation HRAC under the group name HRALX.
      This field is empty in the Project Management standard system.
    3. Choose Active Plan Version as the value for the semantic abbreviation PLOGI under the group name PLOGI.
    4. Save the data.
    5. Adjust the ALE distribution model of your HR system.
    Take a look in --> SAP Portfolio and Project Management --> Project Management --> Resource Management --> Business Partner --> "Set Up Integration of HR".
    Also check this link --> http://wiki.sdn.sap.com/wiki/display/PLM/IntegrationofcProjectsandHR
    Sap Note --> 550055
    If you do not use HR, BP could relate an Organizational Unit.
    Best regards.
    Mariano

  • How to create DataSource  and ConnectionPooling in WAS

    hi,
    can u please tell me how to create connectionpool and data source in WAS.pls send me step by step procedure
    regards
    Guru

    Hi,
    Here is the steps to creat a JNDI lookup using Datasource for MSSQL Server. Follow this and use necessary oracle parameters (in bold) as gives by me in the help link above.
    Click DataSources in the same path i.e. server > services > JDBC connector
    Click “new driver or datasource”.
    Enter/ Set the following properties:
    Main Tab
    DataSource Name : KAAR_DS
    Add Alias : KAAR
    SRI
    Driver Name : KaarSQLDriver
    JDBC version :2.0 (with XA support)
    <b>Object factory : com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
    DataSource Type : ConnectionPoolDataSource
    CPDS classname : com.microsoft.jdbcx.sqlserver.SQLServerDataSource</b>
    Additional tab
    Add the following properties (key-value):
    serverName = localhost
    databaseName = KA4
    portNumber = 1433
    user = CV
    password =<password>
    Save and restart J2EE. The datasource is now ready to use.
    Connection Pooling
    Initial connection : 0
    Maximum connection : 100
    Maximum time to wait for connection : 60
    Default connection isolation : DEFAULT
    SQL Engine
    Select, Vendor SQL
    DB Initialization Tab
    Add a valid sql statement, and execute. If it is successfully executed, a popup window comes up saying Executing “<sql query>” . OK.
    It is done. Now you can use the JNDI look up name in your coding to access the database. Get connection and use the queries to fetch data from db.
    Regards,
    Srinivasan T
    <b>Helpful answer=>points</b>

  • Urgent : How to create Manager and Reportee of a User in Embedded LDAP in W

    Hi All,
    I have created user in Weblogic Server Embdeed LDAP (Console-->SecurityRealm)
    however how can I assign another user as Manager of this user and some other user as reportee of this user.
    Basically how to create Manager and Reportee of a User in Embedded LDAP in Weblogic 10.3.5
    ie I have a user A and user B created in Security Realm.
    Now I want user A to be as Manager of User B so that when I use getManager() function in Human Task,I get A as Manager of B.
    Thanks
    Edited by: Vivek on 28 Sep, 2011 3:54 AM

    To get an idea check these links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/aaa1a890-0201-0010-eb93-ae3d2bb74a78
    BSP/HowTo - Customizing the design of System Logon page in NetWeaver '04
    -Aman

  • How to create Profit and loss account using report painter

    Dear All,
    Can some one guide me as to how to create Profit and loss account using report painter.
    If some one can share the document having steps to be done,would be of great help.
    Thanks in advance.
    Regards,
    Gokul

    Hi,
    Could you please re-phrase your question? As the report painter is a reporting tool I assume you want to report on P&L accounts and not u201Ccreateu201D them. A few more details on what you intend to report would be useful.
    Regards
    Karl

Maybe you are looking for