How to use "WHOSE" concept in Javascript

Hi Scripters,
I have one question about the difference in between Applescript & Javascript?
My question is about this "WHOSE" concept in Javascript when compared as of to Applescript usage which made it very simple.
The below mentioned Applescript code will select the entire page items in page 1 of document 1 whoever omiting those items whose geometric bounds are less than 0.
tell application "Adobe InDesign CS4"
     set selection to (every page item of page 1 of document 1 whose (item 1 of geometric bounds is not less than 0))
end tell
Here in this above mentioned code I have used "WHOSE" concept to omit some specific page items, however using javascript it is not possible to use this WHOSE concept to simply the Javscript code.
thanks

Unfortunately lack of a nice filtering syntax is indeed one of the many flaws of the JavaScript language.
Generally speaking we just write this in an ugly way with a for loop:
var i, p, page=app.document[0].pages[0], s=[];
for (i=0; i<page.pageitems.length; i++) {
  p = page.pageitems[i];
  if (!(p.geometricBounds[1] < 0)) {
    s.push(p);
app.select(s);
Some people like to use Marc Autret's whose and findItems functions though: see http://forums.adobe.com/message/3070983#3070983.

Similar Messages

  • How to use decode concept in htp.p?

    Hi All,
    How to use decode function in htp.p syntax?
    Thanks,
    Anoo..

    Hi,
    Could you please give more details on what you like to achieve? Decode function works only in sql query.
    You can first do sql query, and then do htp.p.
    Or you can use PL/SQL IF or CASE statements.
    You can also create custom decode function if you need.
    Regards,
    Oleg

  • How to Use OOPs concept in SAP develepment

    Dear all.
    I want to to the Seperate classes for the saparate forms.
    means if my form is TEST1.srf then i want to writh all related code in TEST.dll/ class...
    then i will call that class event in the main class. that is test..
    i am trying to Put the opps concept in the SAP but i cant find the way to pass the event
    form TEST class to TEST1 class..
    is it possible to write the code such way if yes then please tell me the code for this.
    thanks in advance.....

    Hi,
    Friend Function is used to access the private data of one class in another class.
    But in your Case Both the classes are global classes so you can use those directly here there is no need of using friend concept.
    I am posting the code which will provide detail functionality of friend in ooabap,please go through this you will get some information.
    class lcl_child definition deferred.
    class lcl_prent definition friends lcl_child.
      private setion.
           data  : credit_card_n type string.
    endclass.
    class lcl_child definition.
      public section.
       methods buy_toys.
    endclass.
    class lcl_child implementation.
       method buy_toys.
         date : lr_parent type ref to lcl_parent.
         create object lr_parent.
         write: lr_parent->credit_card_no.
       endmethod.
    endclass.
    Regards,
    PavanKumar.G
    Edited by: pavankumar.g on Jan 9, 2012 6:39 AM

  • How to use destination function for javascript

    Hi,
    I used javascript:var a = window.open('OA.jsp?page=/oracle/apps/cdar/admin/brandupload/webui/SupportPG&retainAM=Y&OARF=printable', 'a','height=500,width=900,menubar=yes,toolbar=yes,location=yes'); a.focus(); in destination URL property, it can work to popup another window.
    But I want to setup a Oracle function for this javascript, and use Destination FUNC property on the button to popup window. But it can not work after I setup a SSWA jsp function with WEB HTML.
    Could some one help this?
    Thanks,
    Eileen

    Eileen,
    How are you adding the OA function ? I have also tried destination url property but not the destination function.Probably you should do sth like this :
    In ProcessRequest :-
    <OABean> <var name> = (<OABean>)webBean.findChildRecursive("<Bean Id>");
    <var name>.setOnClick("javascript:window.open ('OA.jsp?OAFunc=<funcName>','new','height=550,width=850,status=yes,scrollbars=yes,toolbar=no,menubar=no,location=no' );
    OABean is the bean on click of which the page should open like a hyperlink or sth like that.
    Hope this helps.

  • How to use request.setAttribute in javascript function.

    Here is my scenario.
    I am storing all open windows handles in the array( javascript ).
    I want to send this array to the servlet for which I need to do
    request.setAttribute("jsArray", windowArray);
    I am getting all kinds of errors while writing above statement in the javascript function.
    Here is my code:
    function save_javascript_array(){
    <% request.setAttribute("jsArray", %> + winArray + <% ); %>
    document.forms[0].action="/NASApp/inv/AuditServlet";
    document.forms[0].submit();
    Thanks in advance.

    try something like this:
    crate a JavaScript function that set a form parameter with the values contained in the array, for example make a string containing all elements of the array separated by colon (,):
    function save_javascript_array()
    var data;
    data = '';
    for( var i=0;i<winArray.length;i++ )
    data = data + winArray[i] + ',';
    document.forms[0].handles.value = data;
    document.forms[0].action="/NASApp/inv/AuditServlet";
    document.forms[0].submit();
    you must have a form like this:
    <form ...>
    <input type="hidden" name="handles">
    </form>
    Now in the servlet you must retirve the parameter called "handles" and iterate over the string:
    StringTokenizer tok = new StringTokenizer( request.getParameter("handles"),"," );
    while( tok.hasMoreElements() )
    String handle = tok.nextToken( );
    // do something with this handle...
    The code above may be different (I don't remember the names of the methods os StringTokenizer) and I don't known much about JavaScript (e.i. how to iterate over a array and how to concatenate each element in the array)
    JaimeS

  • How to use Threading Concept in oracle

    Hi all,
    I am having requirement such that i have to execute a function after insert of data in one table.due to performance issues i have to execute this function using java pooling.if anybody having idea regarding this one please share.
    I have tried by using simple javaThreading but it is not working.
    Regards,
    Ramesh.

    public static void main (String args[] ) throws Exception {
    log("main thread is: " + Thread.currentThread());
    TaskProcessor taskProcessor[] = new TaskProcessor[5];
    Thread threads[] = new Thread[taskProcessor.length];
    for (int i=0; i<taskProcessor.length; i++) {
    taskProcessor[i] = new TaskProcessor(i);
    threads[i] = new Thread(taskProcessor);
    threads[i].start();
    for (int i=0; i<taskProcessor.length; i++) {
    if (threads[i].isAlive()) {
    threads[i].join();
    * Thread to run many concurrent connections
    private static class TaskProcessor implements Runnable {
    private int number = 0;
    public TaskProcessor(int number) {
    this.number = number;
    public void run() {
    try {
    log("Thread started: " + Thread.currentThread());
    // Get a connection
    Connection conn = ConnectionFactory.getConnection();
    // Sleep and yield so that other threads can run
    Thread.yield();
    //Thread.sleep(1000);
    Thread.yield();
    Connection conn1 =ConnectionFactory.getConnection();
    log("Thread " + Thread.currentThread() + ": First Con: " + conn);
    log("Thread " + Thread.currentThread() + ": Second Con: " + conn1);
    if (conn1 != conn)
    throw new Exception("Connections dont match: " + conn + ": " + conn1);
    log("Thread " + Thread.currentThread() + " over");
    } catch (Exception e) {
    System.out.println("Exception"+e);
    private String getLeastLoadedPool() {
    if (lastNodePoolUsed == null) {
    lastNodePoolUsed = "1";
    return "1";
    if (lastNodePoolUsed.equals("1")) {
    lastNodePoolUsed = "2";
    return "2";
    else {
    lastNodePoolUsed = "1";
    return "1";
    // in connection factory get connection factory
    public synchronized static Connection getConnection() throws Exception {
    if (singletonFactory == null)
    singletonFactory = new ConnectionFactory();
    String poolId = (String) nodePoolTracker.get();
    if (poolId == null) {
    // one and store it in the thread
    poolId = singletonFactory.getLeastLoadedPool();
    nodePoolTracker.set(poolId);
    log("No Pool Associated:" + Thread.currentThread() + ", adding: " + poolId);
    return singletonFactory.getConnection(poolId);
    else {
    log("Pool Associated:" + Thread.currentThread() + ", " + poolId);
    return singletonFactory.getConnection(poolId);
    after creating this class by using lodajava i have loaded in oracle.
    Regrads,
    Ramesh

  • How to use the concept of drop down list in Xcode

    Please help to make an app that uses a dropdown list inside a tableview cell

    You can use UIPickerView or Safari web page, where could be displayed a drop down list instead.

  • How to use PL/SQL in javascript

    Hi, Iam trying to do the following:
    I need to call a function PL-SQL from javascript. In Oracle I can do this with sth like:
    variable result varchar2(100);
    exec :result := MyFunction(param1, param2);
    (a string with a varible long returns)
    Someone could help me and tell me which is the right way to do this in javascript?
    Thanks
    Veronica Loureda

    I don't think you can execute PL/SQL from javascript.

  • Hi guru's i  am learning ,iknow alv classical ,interactive how to use oops.

    hi guru's i know alv classical ,interactive how to use oops concept in that ,
    some one is telling oops using of oops to dovelope alv grid , actually i don't know alv grid,
    plz explain to me brefley diffrence between alv and alv grid...plz...

    Hi,
    This is the sample report for the oops concept. kindly go through that one. U will get some idea about that one.
    REPORT  YMS_CHECKBOXOOPSALV NO STANDARD PAGE HEADING.
    TYPE-POOLS: slis.
    DATA: BEGIN OF i_data OCCURS 0,
    qmnum LIKE qmel-qmnum,
    qmart LIKE qmel-qmart,
    qmtxt LIKE qmel-qmtxt,
    ws_row TYPE i,
    ws_char(5) TYPE c,
    chk,
    END OF i_data.
    DATA: report_id LIKE sy-repid.
    DATA: ws_title TYPE lvc_title VALUE 'An ALV Report'.
    DATA: i_layout TYPE slis_layout_alv.
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: i_events TYPE slis_t_event.
    DATA: i_header TYPE slis_t_listheader.
    DATA: i_extab TYPE slis_t_extab.
    SELECT qmnum
    qmart
    qmtxt
    INTO TABLE i_data
    FROM qmel
    WHERE qmnum <= '00030000010'.
    LOOP AT i_data.
    i_data-ws_row = sy-tabix.
    i_data-ws_char = 'AAAAA'.
    MODIFY i_data.
    ENDLOOP.
    report_id = sy-repid.
    PERFORM f1000_layout_init CHANGING i_layout.
    PERFORM f2000_fieldcat_init CHANGING i_fieldcat.
    PERFORM f3000_build_header CHANGING i_header.
    PERFORM f4000_events_init CHANGING i_events.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    i_callback_program = report_id
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    i_structure_name = ' '
    I_BACKGROUND_ID = ' '
    i_grid_title = ws_title
    I_GRID_SETTINGS =
    is_layout = i_layout
    it_fieldcat = i_fieldcat
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    i_save = 'A'
    IS_VARIANT =
    it_events = i_events
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = i_data
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *& Form F1000_Layout_Init
    FORM f1000_layout_init USING i_layout TYPE slis_layout_alv.
    CLEAR i_layout.
    i_layout-colwidth_optimize = 'X'.
    i_layout-edit = 'X'.
    ENDFORM. " F1000_Layout_Init
    *& Form f2000_fieldcat_init
    FORM f2000_fieldcat_init CHANGING i_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: line_fieldcat TYPE slis_fieldcat_alv.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'QMNUM'. " The field name and the table
    line_fieldcat-tabname = 'I_DATA'. " name are the two minimum req.
    line_fieldcat-key = 'X'. " Specifies the column as a key (Blue)
    line_fieldcat-seltext_m = 'Notification No.'. " Column Header
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'QMART'.
    line_fieldcat-ref_tabname = 'I_DATA'.
    line_fieldcat-hotspot = 'X'. " Shows the field as a hotspot.
    line_fieldcat-seltext_m = 'Notif Type'.
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'QMTXT'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_m = 'Description'.
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'WS_ROW'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_m = 'Row Number'.
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'WS_CHAR'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_l = 'Test Character Field'.
    line_fieldcat-datatype = 'CHAR'.
    line_fieldcat-outputlen = '15'. " You can specify the width of a
    APPEND line_fieldcat TO i_fieldcat. " column.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'CHK'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_l = 'Checkbox'.
    line_fieldcat-checkbox = 'X'. " Display this field as a checkbox
    line_fieldcat-edit = 'X'. " This option ensures that you can
    " edit the checkbox. Else it will
    " be protected.
    APPEND line_fieldcat TO i_fieldcat.
    ENDFORM. " f2000_fieldcat_init
    *& Form f3000_build_header
    FORM f3000_build_header USING i_header TYPE slis_t_listheader.
    DATA: gs_line TYPE slis_listheader.
    CLEAR gs_line.
    gs_line-typ = 'H'.
    gs_line-info = 'This is line of type HEADER'.
    APPEND gs_line TO i_header.
    CLEAR gs_line.
    gs_line-typ = 'S'.
    gs_line-key = 'STATUS 1'.
    gs_line-info = 'This is line of type STATUS'.
    APPEND gs_line TO i_header.
    gs_line-key = 'STATUS 2'.
    gs_line-info = 'This is also line of type STATUS'.
    APPEND gs_line TO i_header.
    CLEAR gs_line.
    gs_line-typ = 'A'.
    gs_line-info = 'This is line of type ACTION'.
    APPEND gs_line TO i_header.
    ENDFORM. " f3000_build_header
    *& Form f4000_events_init
    FORM f4000_events_init CHANGING i_events TYPE slis_t_event.
    DATA: line_event TYPE slis_alv_event.
    CLEAR line_event.
    line_event-name = 'TOP_OF_PAGE'.
    line_event-form = 'F4100_TOP_OF_PAGE'.
    APPEND line_event TO i_events.
    CLEAR line_event.
    line_event-name = 'PF_STATUS_SET'.
    line_event-form = 'F4200_PF_STATUS_SET'.
    APPEND line_event TO i_events.
    ENDFORM. " f3000_events_init
    FORM F4100_TOP_OF_PAGE *
    FORM f4100_top_of_page.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    it_list_commentary = i_header.
    ENDFORM.
    FORM F4200_PF_STATUS_SET *
    FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
    REFRESH i_extab.
    PERFORM f4210_exclude_fcodes CHANGING i_extab.
    SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLSALV' EXCLUDING i_extab.
    ENDFORM.
    *& Form f4210_exclude_fcodes
    FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
    DATA: ws_fcode TYPE slis_extab.
    CLEAR ws_fcode.
    ws_fcode = '&EB9'. " Call up Report.
    APPEND ws_fcode TO i_extab.
    ws_fcode = '&ABC'. " ABC Analysis.
    APPEND ws_fcode TO i_extab.
    ws_fcode = '&NFO'. " Info Select.
    APPEND ws_fcode TO i_extab.
    ws_fcode = '&LFO'. " Information.
    APPEND ws_fcode TO i_extab.
    ENDFORM. " f4210_exclude_fcodes
    Thanks,
    Sankar M

  • How to use deltas.........

    hi,please tell me how to use deltas concept in generic extraction.?
    yhank you.

    Generic extraction
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Refer:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    For Creating Views,
    You can also find the step by step procedure of this in chapter 11 in Fu Fu Book.
    1. Create a view (Zname) in transaction SE11.
    2. In the next popup window, select Database view.
    3. Provide the short test and include the tables for the view.
    4. Ideally, you should include all the key fields in the join conditions. Either you enter the joining conditions manually or, select all the tables on the left and click on the "Relationships". This will include all the joining conditions for the tables.
    5. Select the fields that you want to view from the tables included.
    6. In the selection conditions tab, include any conditions you want to put.
    7. Activate the View.
    Also refer:
    How to create a view ?
    View...
    [DataBase View|http://help.sap.com/saphelp_nw04/helpdata/en/36/74c0358373003ee10000009b38f839/frameset.htm]
    [Project View|http://help.sap.com/saphelp_nw04/helpdata/en/7e/c819eb52c511d182c50000e829fbfe/frameset.htm]
    [Help Views|http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecd2446011d189700000e8322d00/frameset.htm]
    Please go through these links for LO extraction and Delta modes.
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    Direct delta:
    transactional data or application posting will be directly available in the delta queue table with out any intermediate tables. then that data will be extracted from r/3 to bw.
    Each document posting is directly transferred into the BW delta queue
    u2022 each document posting with delta extraction leads to exactly one LUW in the respective BW delta queues
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Pros:
    u2022 Extraction is independent of V2 update
    u2022 Less monitoring overhead of update data or extraction queue
    Cons:
    u2022 Not suitable for environments with high number of document changes
    u2022 Setup and delta initialization have to be executed successfully before document postings are resumed
    u2022 V1 is more heavily burdened
    Queued delta:
    first the data posting will available in the extraction queue table. then there periodic job run take that data to queued delta table.
    u2022 Extraction data is collected for the affected application in an extraction queue
    u2022 Collective run as usual for transferring data into the BW delta queue
    Transaction postings lead to:
    1. Records in transaction tables and in extraction queue
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Pros:
    u2022 Extraction is independent of V2 update
    u2022 Suitable for environments with high number of document changes
    u2022 Writing to extraction queue is within V1-update: this ensures correct serialization
    u2022 Downtime is reduced to running the setup
    Cons:
    u2022 V1 is more heavily burdened compared to V3
    u2022 Administrative overhead of extraction queue
    hope it is help you.......
    Regards
    Bala

  • How to use an if statement in javascript code

    Hello,
    I have a batch processing script to search for text "employee signature" on each page in a multiple page file and to then list in the console any pages that do not have the "Employee Signature" text included.
    The script is not yet functional as an if statement needs to be included.
    Can anyone please advise how to use an if statement in javascript code?
    var numpages = this.numPages;
    for (var i=0; i < numpages; i++)
    search.query("Employee Signature", "ActiveDoc");
    console.println('Pages that do not include an employee signature: ' + this.pageNum +' ');
    Any assistance will be most appreciated.

    Thank you very much for your assistance try.
    I have modified the code as suggested and the page numbers are now listing correctly, thank you, but....................,
    The console  lists every page as having an "employee signature" when there are pages in the document that do not have an employee signature.
    The code (revised as follows) is not processing the "getPageNthWord part of the statement" in the console report?
    Can you please advise where the code needs reworking?
    var ckWords; // word pair to test
    var bFound = false; // logical status of found words
    // loop through pages
    for (var i = 0; i < this.numPages; i++ ) {
       bFound = false; // set found flag to false
       numWords = this.getPageNumWords(i); // number of words on page
       // loop through the words on page
       for (var j = 0; j < numWords; j++) {
          // get word pair to test
          ckWords = this.getPageNthWord(i, j) + ' ' + this.getPageNthWord(i, j + 1); // test words
          // check to see if word pair is 'Employee' string is present
          if ( ckWord == "Employee") {
             bFound = true; // indicate found logical value
             console.println('Pages that includes an employee signature: ' + (i + 1) +' ');
             break; // no need to further test for this page
          } // end Employee Signature
       } // end word loop
       // test to see if words not found
       if(bFound == false) {
             console.println('Pages that do include an employee signature: ' + (i + 1) +' ');
        } // end not found on page  
    } // end page loop
    Thank you

  • How to Use Mobile Service in HTML/JavaScript Application

    The Windows Azure Mobile Service is a back end tool for mobile applications. It supports various platforms, such as Windows Store, Windows Phone 8, iOS and Android. The Windows Azure
    Mobile service can also support HTML/JavaScript. This article helps you to get a basic idea of how to use the Windows Azure Mobile Service in HTML/JavaScript applications.
    Let us start with a Quick startup project provided by Microsoft. A Quick startup is a simple demo project that can help us to understand how to use the Windows Azure Mobile Service with HTML/JavaScript. So let's start from the Quick startup project.
    Login into in the Windows Azure portal and use the following procedure.
    This article assumes you already have a Windows Azure account and the mobile service is enabled in your account.
    1. Create a new Windows Azure Mobile Service
    Click on the +New button from the left corner and select Compute -> Mobile Service and then click on the "Create" button.
    The Windows Azure portal popup creates a mobile service wizard when you click the Create button. Windows Azure asks you to enter the mobile service name as shown in the following image:
    Select the database options and region for your mobile service and click on the "Next" button.
    Once your mobile service is successfully created, the portal will show all your mobile services as shown in the following images.
    Ok! We have created a new mobile service successfully. Let's move to our subsequent steps.
    1. Quick startup Project 
    As we all know, the Windows Azure Mobile Service can support many platforms such as Windows Store, Windows Phone 8, iOS, Android and HTML/JavaScript. This article only tells us about the new HTML/JavaScript platform that is recently added to the Windows Azure
    Mobile Service.
    In the image above, we are in the quick startup page where the Windows Azure Mobile Service allows the user to choose their platform. I have selected the HTML/JavaScript Platform.
    In the image above, we found 3 quick steps that can allow us to run <g class="gr_ gr_74 gr-alert gr_gramm Grammar" data-gr-id="74" id="74">a HTML/JavaScript</g> sample project. 
    1. Create Table: In this step the user needs to create a table that can used by the sample project, once you hit the create TodoItem Table button. The Portal will create a TodoItem table in your mobile service. You
    can check this table by clicking on the data tab(menu).
    2. Download and run your app: In this step the user needs to download the Quick startup project that is provided by the Windows Azure portal. Click on the "Download" button and download the project. You will
    see the following files in the quick startup project.
    The Server folder contains some files to setup this project locally. The user should run the file from the server folder corresponding to their OS. I am using Windows OS so I ran the <g class="gr_ gr_80 gr-alert gr_spell ContextualSpelling ins-del multiReplace"
    data-gr-id="80" id="80">lanch</g>-<g class="gr_ gr_79 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="79" id="79">windwos</g> file to setup this project locally in
    IISExpress.
    Press r and enter the key, you will see IISExpress started. Do not close this Windows and open your browser and request the http://localhost:8000/ page.
    Enter the Item name and click on the add button. Your Item will be added to the TodoItem table.
    3. Configure your host name: This step is a very important step for any HTML/JavaScript application that uses the Windows Azure Mobile Service. In this <g class="gr_ gr_83 gr-alert gr_gramm Punctuation only-ins
    replaceWithoutSep" data-gr-id="83" id="83">step</g> the user must register their website name in the Cross-origin resource sharing (CORS). By default, "localhost" is added by the Windows Azure Mobile Service
    so your quick startup project can run without making any CORS setting changes. The user can add their website domain name by clicking on the configure tab (menu).
    The user can add as many website domain names as needed.

    are you asking a question or did you just post a tutorial here? you might want to post it as a blog post or wiki entry instead.

  • How to use the index method for pathpoints object in illustrator through javascripts

    hii...
    am using Illustrator CS2 using javascripts...
    how to use the index method for pathpoints object in illustrator through javascripts..

    Hi, what are you trying to do with path points?
    CarlosCanto

  • How to use traffic lights concept in alv in webdynpro abap

    Hai ,
              How to use traffic lights concept for alv in webdynpro abap. If possible give me some code.

    Hi Ravi,
    You can create ICON  to get traffic light.
    Go through this step by step.. in this example
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?quicklink=index&overridelayout=true
    Please go through this...
    Re: Display ICON in the ALV table column
    Re: Image in ALV
    cheers,
    Kris.

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

Maybe you are looking for

  • IPod & iPod nano sync with the same mac

    Hello folks, Please share your experience on this matter. Is it possible to automatically sync both iPod and iPod nano in iTunes? Maybe by making a smart list for nano, just that list will automatically upload to iPod nano? Any suggestions or thought

  • How do I get my MapIcon to always show?

    Hey guys, I've started coding a little WP 8.1 Map application using MapControl to render the map and MapIcon . I've been browsing the thin documentation on these components online and ultimately used Microsoft's Dev Center Page. On the page it states

  • Query on Creating and Populating I$ table on different condition

    Hi, I have a query on creating and populating I$ table on different condition.In which condition the I$ table is created??And These condition are mentioned below: 1)*source and staging area* are on same server(i.e target is on another server) 2)*stag

  • Limit Scs in srm 7.0

    Hello Experts, WE recently upgraded from srm 5.0 to 7.0 classic scenario. in Srm 7.0 BBPSc01 is obsolete transaction so when i click on create limit item system is giivng dump. can any body suggest how can we create limit Shopping carts in SRM 7.0 Th

  • Installed 64bit CrystalReportsServer2013 in Program Files (x86) - Re-install?

    Hi: I have installed 64bit CrystalReportsServer2013 in Program Files (x86). Should I go back and re-install? Will it even let me change the directory once I have installed it already?                                       ...thanks, Stan