[CS3][JS] Changing order of a pageitem

Hi All,
I'm looking for a way to easily change the order of a pageitem with javascript. To be clear, with 'order' i mean which item is on top of the other, which item is behind another item, ...
In both desktop and server you could achieve this by choosing Bring Forward(), sendToBack(), etc.
But using these methods, if you want to rearrange 10 items in a specific way, you'll have to use some complex code to be able to put all items in the correct order.
In the data browser you can find the order in the index property, with 0 being the frontmost item.
What I'm looking for is a way to say:
myPageitem1.index = 0;
myPageitem2.index = 1;
and so on.
Unfortunately, the index property is read only, so this is not possible.
Is there anybody who did something similar, or can guide me in the right direction?
Thanks,
Dany

Would it work if you created a list of the page items in the order you wanted them, and then cycled through them using the sendToBack() method? This would leave the first item on top by the time you've processed all the page items in your list.
I'm trying to think of a way to randomly move a page item from one location in the stack to another, but I haven't thought of anything yet.

Similar Messages

  • Change order of key figure is not working in Web report output (using WAD)

    Hi,
    We are using BI 7.0, release 701 and level 008. We are facing problem in WAD (web report output). When ever we do 'Select filter' for key figures and 'change the order' of key figures, it does not get reflected in new order. Though drag and drop of key figures is working.
    Though same change order is working fine in Bex Analyser.
    Kindly suggest some inputs.
    Thanks.

    Hi,
    On Which Service Pack are you on?WAD has this feature of re arranging the keyfigures in BI 7.0 for SPS 14...
    Regards,
    Bhagyarekha.

  • Change order of line items in a financial document

    Hello,
    Is it possible to define the order of the line items in a financial  document?
    For example, I have always a discount line with a discount account in the first place and after this line, the customer line, and the bank account and I need to have the customer line in the fist place, is it possible to customize this order?Or is this standard?
    Thank you very much!!

    Hi,
    You can change orders in FInancial Document. Just open the document from Menu select Settings-> Layout--> Current.
    change the position numbers as desired.
    Regards,
    JA

  • Changing Order of Songs in Album-iTunes 12

    Like the title says, how do I change the order of songs in a album? Before you could use get info and sort by track number.
    Thanks

    Hey Lando25,
    I understand that you want to change order of songs that are playing in iTunes. This functionality should still be available to you, as confirmed in this article:
    iTunes 12 for Mac: Edit song and CD information
    https://support.apple.com/kb/PH19618
    You may need to simply scroll in the information field in order to find the fields that you wish to edit. Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • HT201317 change order of photos in photo stream album

    How do I change order of photos posted in photo stream album?

    Send a feature request to Apple via
    http://www.apple.com/feedback/iphoto.html
    and
    http://www.apple.com/feedback/icloud.html
    OT

  • Help with fuzzy search (doesn't work if change order of certain 2 letters)

    Hi,
    need some help with fuzzy search. It's pretty simple - we use fuzzy search on varchar2 columns that contain first name and last_name. The problem is that i don't really understand why it can't find name in some cases.
    Say i want to search for 'Taekpaul'. Then
    where CONTAINS(first_name,'fuzzy(TAEKPAUL)',1) > 0 - works
    where CONTAINS(first_name,'fuzzy(TAEKPALU)',1) > 0 - works (changed order of the 2 last letters)
    where CONTAINS(first_name,'fuzzy(TEAKPAUL)',1) > 0 - doesn't work, finds 'Tejpaul' that is completely unrelated (changed 2nd, 3rd order)
    How can i make it find 'Taekpaul' even if i search for TEAKPAUL? Is it related to index? Like Text index should be created with some different parameters?
    Thanks!
    Edited by: Maitreya2 on Mar 3, 2010 2:08 PM

    Thanks, adding '!' worked :)
    Do you know where i can read more about '!' and other special characters? I think i didn't see anything like that here: http://download.oracle.com/docs/cd/B14117_01/text.101/b10730/cqoper.htm#BABBJGFJ
    I also started using JARO_WINKLER_SIMILARITY function that is actually better i think for what i do. But it's very buggy - sometimes Oracle crashes and kills connection when you try to use it.
    Ahha, it's here: http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cqspcl.htm
    So, ! is soundex. Whatever it means..
    Edited by: Maitreya2 on Mar 5, 2010 12:14 PM

  • How to look for SAP provided rules while changing orders ?

    Hi:
    we have a requirement to check for order type when the change order request ( in form of IDOC via EDI)  is passed to SAP and the requirement is such that we can only accept certain order types like TA and reject order order type........from a very high level though process the idea is to check if SAP has certain pre build code that can be called before the va02 is called.....
    I am new to sap and was told that we need to first look if SAP has a existing functionality if not then find user exit and customize it .....
    my question is where does one look in SAP for such code ...or out of the box feature..........which can be called ....I understand if nothing is found we can write ABAP program to do this.....but I am puzzled as I do not now where to look and eliminate that such feature is not already provide ......
    Thanks

    check which FM you use to post your IDOC (like IDOC_INOUT_ORDCHG) and then check in this FM ... you'll find exits like 'call customer-function'.... I'm sure you'll find one which is called to validate data passed in your segment (where actual order type is passed).... or just use the one which works always after the order number is known and then just check your order type & raise error to fail IDOC so it will not even try to update your order.

  • How to change order data in APO

    Hi,
    I am keen to know on ways to change order data in APO say order category BI.....we want to change date by taking input from cif user exit APOCF006.We need this information for the ongoing  project.
    I know two options...1) using BAPIs  2) Not very sure about this option ...Function Module:/SAPAPO/OMORDER*CHANGE.
    Could you  please help to have better understanding on ways to change orders  in APO?
    Thank you
    Best Regards
    Nilesh Patil

    Hello Rishi,
    Thanks for your reply.
    Demand node ofr purchase Ordre( BF) in SNP is Conrel( BI category). We want to change date( start date) at this demand node . We will get this date from R3 using say non cif method.
    There are few ways to do it....
    1) If we ignore Menas of Transport( so essentially transit time or lead time in tlane)  in that purchase order  and change this requirement date directly using purchase order save BAPI( requirement node) ......Question will system allow us to do so and even if it allows us to do so will it casue some problem( inconsistencies) later?
    2) Second option I am thinking is...
    For one product we maiantain GR processing time in product location master and this is considered while determining strat date of BI (Start date=  Delivery date -GR procesisng time- means of Transport lead time - some other times ....). For this product let's say we have 100 Purchase Orders (BF). We have requirement that each of these POs should get separate treatment while calculating Start date. It means start date can be different for different POs and once we change it forcibly then it shoulkd not change unless we again change it forcibly.
    We are thinking to change GR processing time at runtime wheneveer Purchase Order is changed. So if GR time in product location master is 1 day ....for different Purchase Orders different GR processing time can be considered. Say for Po1...its 2 day...for P2 its 4 day.
    Or similar way we  can change transit time as given in means of transport in tlanes.
    Will appreciate your or anyone's comment
    Thank you
    Nilesh

  • Change order of list items in sealed MP

    Hi,
    I have a MP that is sealed. It includes a list, but also list items exist in that sealed MP. I need to reorder the list. I have the unsealed MP and the seal used. Can i just edit the unsealed version, changing order in the XML code and increase ver. nr.
    and if yes then how?

    Hi,
    I did a test in my lab and just edited the xml version of the MP. I changed the numbers in ordinal to rearrange, incremented the version # plus resealed and imported.
    <EnumerationTypes>
    <EnumerationValue ID="IncidentPriorityList" Accessibility="Public" />
    <EnumerationValue ID="Enum.cd7c7616b19745ffb646e0320ba85bb4" Accessibility="Public" Parent="IncidentPriorityList" Ordinal="0" />
    <EnumerationValue ID="Enum.8ae91ca8f3a7439eb2941c4a1547908c" Accessibility="Public" Parent="IncidentPriorityList" Ordinal="2" />
    <EnumerationValue ID="Enum.0d5e33cc41504a4eaf66b64b2dff3a2d" Accessibility="Public" Parent="IncidentPriorityList" Ordinal="1" />
    </EnumerationTypes>

  • PO Change Order Number!

    Hi friends,
    If i want to make some changes in existing purchase order before GR, i want to make it using a different change order number for the existing PO number so that i can review the history of changes being made.
    Plz help out!
    regards

    Hi,
    You can use version management functionality , which will give you record of changes with Reason as well as Text . This functionality will be applicable once you take print out of PO and after that you are doing any changes to PO.
    Spro - Materials Management -Purchasing -Version Management - Set Up Version Management for External Purchasing Documents  Activate Version management for your PO doc type and Pur Org
    Define Reasons for Change
    Set Up Change Displays
    Regards,
    Vikas

  • Oracle i Supplier Portal Workflows - Supplier Change Order Workflow

    Hi Friends,
    Oracle iSupplier Portal uses the following workflows:
    ■ Supplier Change Order Workflow
    ■ Update Capacity Workflow
    ■ Order Modifiers Workflow
    ■ Advance Shipment Notice (ASN) Workflow
    ■ Purchase Order Acknowledgement (handled by PO Approval Workflow)
    My problem is related to - 'Supplier Change Order workflow'
    I would like know is there are any changes in the work Flow - 'Supplier change order Work flow' in 11.5.10 to 11.5.8
    If yes,kindly list the changes.
    Thanks in advance!
    Thanks & Regards
    Dilip Nomula

    The best way to determine this would be to download the workflow into a wft file from 11.5.8 and 11.5.10 instances and run a simple Unix diff command on these two wft files. I do not believe you will find any documentation that will list differences at this level of detail.
    HTH
    Srini

  • Fragents and Change Orders

    I'm new to P3. I need to manage a large 2 year public
    works building construction schedule in downtown Los
    Angeles, with numerous and frequent changes to the
    schedule due to change orders, RFI's etc. Of course, these
    changes result in increases/decreases to cost and time,
    which need to be monitored and dealt with as part of the
    overall project. Some say that fragnets are the best way
    to insert these changes into the schedule. Some say
    fragnets are problematic. I have no experience with
    fragnets and I want to get off on the right foot. What
    have you project managers and project engineers found most
    effective for inserting and managing change order and RFI
    items?

    Nat:
    Thank you very much for
    your response.
    Your
    explanation of fragnets was very useful. I will make a
    point of saving and reusing repetitive groups of
    activities. In my case, SOMD (slab-on-metal-deck) is
    very repetitive. Also, exterior building finishes such
    as plaster (exterior sheathing, lath, scratch coat,
    brown coat, cure, finish coat, cleanup). Interior
    finishes activities are also often identical from
    floor to floor.
    The issue with
    RFI's is usually not so critical. I mentioned 1200
    RFI's but relatively few impact the schedule and must
    be coded in. But it is more than 48. In my case, the
    most common reason for entering an RFI into the
    schedule is when the
    consultant/Architect/Engineer/State Agency exceeds the
    contractually agreed upon time limit for response to a
    design-related RFI, or his response is irrelevant
    requiring a second round of RFI's to resolve the
    problem (revise and resubmit for title-block
    exceptions, for example, happens frequently). <br
    />
    It is easy to ignore these delays,
    and recording them in the schedule can really irritate
    the consultant, but when they become a habit, the
    cumulative impact on the schedule can be significant.
    Therefore, I need to be able to track these RFI delays
    effectively within the schedule. Of course, an RFI
    always has a number that is tracked inside Expedition
    as well.
    The bigger problem is
    Change Orders. As you know, when the Owner wants
    something added to the work, or a problem in the
    design results in an increase in the scope of work
    (there are many other possible reasons of course) a CO
    is requested. As a general rule, most change orders
    contain both a cost increase as well as a time
    extension. This time extension is the problem,
    because, especially on public works projects, the
    Owner/CM does not want to grant time an extension, and
    even when they do, they will only grant it when it
    impacts the critical path, and only after there is no
    float remaining (you will see why this distinction is
    important as you read further). The critical path
    condition makes sense, but the idea that my float is
    the Owner's to eat for his CO work is grating,
    especially when facing potential LD's. <br
    />
    To top it off, some Owners/CMs insist
    that all time delays be dealt with at the end of the
    project, when the actual time delay resulting from a
    CO can be calculated, instead of simply estimated, as
    is common practice (corresponding language is inserted
    into the CO to that effect instead of a defined time
    extension). My position is that if they refuse to
    grant a time extension based on an estimate, then the
    cost given in the CO, which is nothing more than an
    estimate, should also be replaced with T&M, and
    the budget be damned. Needless to say, that position
    has not won me many friends in the trailer across the
    way.
    You might suggest that we
    should refuse the extra work if a time extension is
    not granted up front. If we did that, they would hit
    our bond in a heartbeat. A contractor's lot in life
    seems to be to make lawyers (Deo volente, may the burn
    in hell) wealthy.
    In the case
    of the Owner/CM refusing to grant time for
    non-critical path CO's, my position is that, while the
    CO work may not be on the critical path this instant,
    in many cases, the critical path can change
    dramatically, sucking CO work into it that was
    previously separated from it by weeks. That very thing
    has happened on a school project located in a major
    city we are doing.
    The project
    has extensive tubular secondary steel at the exterior
    of the two buildings. This tube steel, ranging in size
    from 4" diameter to 20" diameter curves around, and up
    and down, the exterior of the structure. I do not
    exaggerate when I say that it is more complicated than
    a roller coaster. I will send pictures if you are
    interested. It supports curvilinear LG framing, which
    in turn supports a combination of plaster, brick
    veneer and metal panels. Very phantasmagorical stuff.
    Being a complicated 3-D arrangement of rigid steel,
    the architect's drawings were incomplete, (we should
    have expected that) and changed frequently (4 times)
    during fabrication, resulting in detailing problems
    and a two month delay in erection. Lots of unforeseen,
    fit-scribe-cut-repeat of long, heavy, curved, twisting
    pieces of long steel hanging from crane hooks has been
    required.
    We have recovered
    most of that time, but only by doing a great deal of
    out-of-sequence work.
    As you
    can imagine, this mess generated a ton of CO's, but
    the Owner would not agree to grant time extensions
    until the end of the project, and even then, only on
    CO's that are provably on the critical path. When
    combined with electrical changes impacting utility
    buildings, cable pulls, elevators, manlift and even
    exterior finishes, and then with added off-site work,
    topped off by submittal-review delays by State
    agencies, the critical path has flapped around like a
    flag in the wind, with CO's going in and out of it. In
    many cases, this means that a particular item of
    ongoing CO work has delayed the critical path for a
    period of time, but not for the entire duration of the
    CO work. So calculating the exact impact of the CO
    during the period it was on the critical path has not
    been easy.
    I anticipate there
    will be huge disagreement about these calculations at
    the end of the project when we have the "come to
    Jesus" time/money resolution meeting with the
    Owner/CM.
    BTW, the CM always
    insists that CO's be dealt with as fragnets, but that
    doesn't always make sense because the nature of CO
    work is often one-of-a kind, not repetitive stuff. But
    he has fragnets on the brain, it seems, so we call
    them fragnets to humor him.
    <br
    />Anyway, as you can imagine, tracking the dynamic
    (vs. static) effect of CO's on the schedule has been
    difficult. I am almost tempted to try calculus methods
    to calculate time consumed over time (if you get my
    meaning). Any experience analyzing schedules using
    differential equations? Someone must have done it
    before....
    Right now I am
    using activity codes to track them, but I am wondering
    if there is a better way.
    <br
    />
    I have other projects, without the
    same delays, but similar Owner/CM mindset regarding
    CO's
    Now you know the long
    story. Any suggestions?
    <br
    />Stan

  • Requisition change order workflow - custom wf not being picked

    Oracle Standard Requisition change order workflow doesnt meet the client requirement.
    so we had to customize the poreqcha workflow.
    Steps
    1. Changed poreqcha.wft and complied using another name.
    2. Associated the workflow in document types. ( Purchasing Super user>>setup>>purchasing>>document types)
    Attached the new item-type to "Change Order Request Requisition"
    3. Create a req approve it, auto create a PO and approve it. Now log in as requester and change the requisition
    It still follows the standard workflow and not the custom workflow.
    Please assist is there are any settings which i'm missing.

    See "How to Change the Top-Level Process for the POREQCHA - Requestor Change Order Approval? [ID 423078.1]" for Oracle's opinion on this. We have modified the top-level process directly. Neither solution is ideal.
    Thanks,
    Nic

  • Way to change order of person type for search window under the People

    Hi,
    we need to change ordering of person type. Normally we open search window to find any specific record either employee/contingent or applicant which show's “Employee” as default value.
    Is there any way to change type employee to contingent worker as default value?

    Hi user-Keen,
    hmm interesting.. never tried this, but can you try personalisation and see if this works -
    WHEN-NEW-FORM-INSTANCE
    Block : EMP_QF
    Field : NUMBER_TYPE
    Value : CWK
    The value is defaulted to EMP, try changing this to CWK
    Thanks,
    Vignesh

  • Inspection Plan - Change order date Combination issue

    We are facing 1 issue in our system.
    The Inspection plan assignments with new change orders is not assigning the correct inspection plan.
    Example:
    Plan                       Change Number               Valid from Date
    1                              CO-1                                1/01/2007
    2                              CO-2                                1/01/2008
    3                              CO-3                                1/01/2010
    The plan selected when Change order CO-2 is cut in, is plan 1 but should be Plan 2. We believe the date on the CO does not drive the selection of the most current plan. When plan 3 is implemented after plan 2, Plan 2 is selected.
    Any one has faced this kind of issue in your exp?
    Edited by: Tom_Eric on Apr 28, 2010 10:49 PM

    No reply

Maybe you are looking for

  • Cannot update delivery attributes: the following field(s) are not updatable

    Hi. I create in EBS simple Order Now , my goal is to create a delivery , pick , change shipping quantity and ship confirm. Here is my code DECLARE p_sales_order NUMBER := 10014445; p_line_number NUMBER := 1.1; p_org_id NUMBER := 308; l_shipped_quanti

  • Nokia N8 gallery and video doesn't work :(

    Hello, Just today bought Nokia N8, updated to Symbian Belle and tried to open gallery but it only shows black screen and nothing works, i tried open pictures by file manager but it won't open... PLEASE help!

  • Which course is better to learn??

    Hi, I am working as a ABAP developer since 1 year 6 months . i want to learn something related to ABAP. Please guide me which is having good future. i know java fundamentals.. Regards, sri

  • Desperate because...fcp is crashing all the time!

    Hello everyone, My FCP has always been very reliable but since today it suddenly started crashing continuously... Sometimes it just takes doing an overwrite edit, or dragging a segment or even by starting up the programm it immediately crashes. I alr

  • Problema iphone 5

    UScire dall'id apple? Non trovo la corrispondenza