Two or more users editing the same script file in cq5, is it possible?

In cq5 is possible two or more users editing the same jsp file? There is a lock system preventing simultaneous editing of the same file?
Thanks,
Gabriel

you really should use eclipse and maven to work with multiple developers. something like [1] will be helpful
[1] http://www.cqblueprints.com/xwiki/bin/view/Blue+Prints/The+CQ+Project+Maven+Archetype

Similar Messages

  • Can two or more users access the same Airdisk at the same time?

    I have a USB hard drive attached to my AEBS as a shared drive, and I can access it from any of my four macs. The problem is I have to disconnect from it on one mac before the other macs can access it. If I don't, the second mac receives an error that it doesn't have permissions. Is that normal?

    you really should use eclipse and maven to work with multiple developers. something like [1] will be helpful
    [1] http://www.cqblueprints.com/xwiki/bin/view/Blue+Prints/The+CQ+Project+Maven+Archetype

  • How to avoid that two or more people alter the same Sales Order same time

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution.
    I've already put this thread in the Business One forum and someone suggested to put it in the Business One SDK forum, as there isn't a solution in Business One itself.
    So if someone can give me a direction for a solution I would be very pleased.
    Best regards,
    Tim

    Hi Tim,
    The only thing that comes close to what you want in standard SBO is Data Ownership. However, this can't stop someone editing a document that is already being edited.
    You can't use stored procedures to track which document is open because the SBO_SP_TransactionNotification proc (which is the only one that you are able to customise) is triggered when a document is updated or added (or cancelled or closed) and not when the document is actually being edited in the user-interface.
    You could do this by writing an addon that uses the UI API to trap events in the sales order form. In theory, a sales order is being edited if the sales order form is in Update mode (ie in order for the form to be in Update mode, the user must have selected an existing document and changed the value of at least one field). You can trap the event of the user changing a value and then log the user and document in a table. When other users try to edit the same document, you could check the table and then prevent them changing values. When the first user clicks on the update button (or cancels the update or closes the form etc etc) you can remove the lock on the document. However, I have doubts as to how robust it would be. The problem with this kind of locking solution is that you sometimes get 'stranded' locks (eg user was editing a document when their workstation crashed) and the solution can end up being more troublesome than it is worth.
    Kind Regards,
    Owen

  • Is there a way to work with two or more app at the same time on iPhone or iPad

    Is there a way to work with two or more app at the same time on iPhone or iPad?

    What i am attempting to achieve is to work with at least two app at the same time. For example: select any picture from my albums to attach them in an email. Another example is get data from an app to use it with the calc app. And there are more exaples for it. And for sure I need support for an iPad air. I mencioned the other tablet just to try to be a bit clearer.

  • HT5177 How can two people edit the same FCPX file? One company, so both people/computers share the same license. Example: I work on revision A and my boss takes it and makes revision B and gives it back to me using two separate computers.

    How can two people edit the same FCPX file? One company, so both people/computers share the same license. Example: I work on revision A and my boss takes it and makes revision B and gives it back to me using two separate computers.

    Have the project, events and media on one drive which is common to both macs.
    You can download FCP X to both macs using the same Apple ID that it was purchased with.
    Andy

  • How to avoid that two or more people altering the same Sales Order

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution. So far I didn't find a standard option in Business One neither a solution in this forum.
    Best regards,
    Tim

    Tim,
    There is nothing in the application settings in Business One that could be used to prevent this.  You may post this to the SDK forum as well and perhaps there is a way to achieve this through SDK.

  • ERROR: MyService.jws:715:There are two or more operations with the same schema-element 'ns0:MyNameSpace' on the input message in a web service file or callback interface.

    I have two web service operations that have the same complex type as their input
    parameter. I want to map this type to an existing schema. I can successfully
    do this with the first operation using XQuery but when I attempt to do this with
    the second operation I get the following error:
    ERROR: MyService.jws:715:There are two or more operations with the same schema-element
    'ns0:MyNamespace' on the input message in a web service file or callback interface.
    ERROR:      SUGGESTION: Use different schema-element values for each of those operations.
    How can I use different schema-element values? The input parameters are to be
    mapped to the same schema and same element since they are the same for both operations....

    I am having the same problem. How did you resolve this..?? could you please tell me the solution??
    Thanks
    Shari

  • Can two iCal users edit the same published/shared calendar

    Can two iCal users (obviously different mobileMe accounts) edit the same published/shared calendar? I want to have a calendar running which we can both edit remotely but for it to be synced so we both know what each other is doing. Maybe I can share it on my iDisk somehow? I have searched but could not find an answer so I am sorry if this has been covered already !

    There is now way to do this using standard MobileMe and iCal. What you could is both share your calendars so that both of you can read each other's calendar.
    If you want both to have read-write access to a calendar you will need to use third party software or set up a Google calendar where both of you have read-write access to the calendar.

  • Error on Production Orders Add-on when 2 or more users at the same time.

    Hi.
    Our add-on creates special production orders (SAPbobsCOM.BoProductionOrderTypeEnum.bopotSpecial) with no problem when used by one user, but if there are two or more users  everyone on his own SAPBO session it starts to throw different errors, we think it may be a concurrence problem due to several transactions.
    Here a short brief of the code sample and the process:
    (error handling and object members not included in the sample)
    oDoc.ProductionOrderType = SAPbobsCOM.BoProductionOrderTypeEnum.bopotSpecial
    If the oDoc.Add() is correct, We get the last production order created and release it:
    Me.sKey = Me.Company.GetNewObjectKey
    oDoc = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)
    oDoc.GetByKey(Me.sKey)
    oDoc.ProductionOrderStatus = SAPbobsCOM.BoProductionOrderStatusEnum.boposReleased
    oDoc.Update()
    Then we go for an inventory Entry:
    oDoc = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
    oDoc.DocDate = Date.Now
    oDoc.Lines.BaseEntry = Me.sKey
    oDoc.Add
    And Finally to close the production order:
    oDoc.ProductionOrderStatus = SAPbobsCOM.BoProductionOrderStatusEnum.boposClosed
    oDoc.Update()
    This works fine when only one user is using the add-on, but in the end there wil be at least eight users simultaneously  working with this add-on
    The test:
    We have four users creating production orders with the  add-on.
    Two of them get the usual success messages and the created documents in SAPBO are all correct.
    The other two users get diferrent errors messages during the process.
    If they wait and try again to run the process it works fine.
    Repeating the test get errors on different users depending on which one started the process first.
    Our client needs to generate beetwen 900 and 1200 production orders per day, so they can't wait until the process is free for each user to work with it.
    The common erros detected are:
    Changing the status of the production order:
    -5002 - The warehouse is not defined for the item.
    -4002 - To generate this document,
               first define the numbering series in the Administration module
    -1029 - Field cannot be updated
    Adding the production order and inventory entry:
    -2038
    -1116
    -5002
    Regards,
    Omar Fonseca

    The start transaction model didn't Fit well with all the process we are doing, but the idea of locking or holding the other users seems to work pretty fine, we are now using a flag to determine if someone is doing the process and put in hold the new ones.

  • Can I share itunes music with two separate computer users on the same computer using the same itunes account?

    I have gone through the insturctions on sharing a folder, but it will not update under both itunes libraries when I download new music? For example, I log in as "User A" and download a song on itunes. I then log into the same computer as "User B" and open itunes and the song is not there, even though the music library is the same shared folder on the computer. I tried downloading the music as "User B" but then I get the error: You do not have enough access privileges for this operation".
    Does anyone have any ideas how I can properly and continuously share the same music between accounts? I have to use seperate computer log in accounts because my wife and I have our own calendars, contacts, etc...
    Thank you!

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder (but note: some users find ongoing permissions issues with the Library in this location. It might be better to use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • FEBA - How to post two or more transactions at the same time?

    Hi,
        one of our banks sends the statemets with many lines that belongs to the same transaction. We have to post partially one line, and afterwards the other line. Any of you know how to post two lines at the same time from the bank statement?
    Thank you in advance,
    Miguel

    Hi,
    I'm sorry for replying so late.
    The solution I reached was to change the a few things in the standard.
    Now I have a new "context menu item". I select two or more transactions and I right-click the mouse. I select that "context menu item" and the next part of the code adds the total amount of the transactions to look for the correct post for the first transaction. Once posted automatically, the next transaction is posted automatically by the system.
    I hope you understand my English. I've problem with technical FI terms.
    Here you are the code:
    First I added a new contextual menu item:
    CL_FEBAN_ALV_GRID=============CCIMP
    call method e_object->add_function
        EXPORTING
            fcode = 'BS_POST_ITEMS'
            text = text-002.
    *{ INSERT DHTK904078 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        call method e_object->add_function
            EXPORTING
                fcode = 'ZBS_POST_ITEMS'
                text = text-Z02.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        call method e_object->add_function
            EXPORTING
                fcode = 'BS_KILL_ADVICE'
                text = text-004.
    CL_FEBAN_ALV_GRID=============CCIMP
    when 'BS_POST_ITEMS'.
        call method cl_feban_propagator=>raise_event
            EXPORTING
                i_event = 'POST_ITEMS'
                i_ref_to_item = l_ref_to_item.
    *{ INSERT DHTK904078 2
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        when 'ZBS_POST_ITEMS'.
            call method cl_feban_propagator=>raise_event
                EXPORTING
                    i_event = 'ZPOST_ITEMS'
                    i_ref_to_item = l_ref_to_item.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        when 'BS_LOCK_ITEMS'.
            call method cl_feban_propagator=>raise_event
                EXPORTING
                    i_event = 'LOCK_ITEMS'
                    i_ref_to_item = l_ref_to_item.
    CL_FEBAN_PROPAGATOR===========CM001
        when 'POST_ITEMS'.
            raise event post_items
                exporting i_ref_to_item = i_ref_to_item.
    *{ INSERT DHTK904078 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        when 'ZPOST_ITEMS'.
            data: zvalor(1) value '' .
                export zvalor from 'X' to memory ID 'ZFEBA01'.
                raise event post_items
                    exporting i_ref_to_item = i_ref_to_item.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        when 'LOCK_ITEMS'.
            raise event lock_items
                exporting i_ref_to_item = i_ref_to_item.
    Now, I proceed to calculate the total amount of the selected transactions to look for the correct one to post.
    LNEW_FEBAF01
    *     user parameter
            l_feban_position type c.
            field-symbols: <items> type item_tab_type.
    *{ INSERT DHTK904077 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        data: zvalor(1) value '',
            zkwbtr type kwbtr,
            kwb type kwbtr.
        import zvalor to zvalor from memory ID 'ZFEBA01'.
        if ( zvalor is not initial ).
            if not i_ref_to_item is initial.
                assign i_ref_to_item->* to <items>.
                loop at <items> into h_item.
                    select single kwbtr
                        into kwb
                        from febep
                        where kukey = h_item-kukey and
                            esnum = h_item-esnum.
                            zkwbtr = zkwbtr + kwb.
                endloop.
            endif.
            export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
        endif.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        refresh g_picked_items.
        if not i_ref_to_item is initial.
            assign i_ref_to_item->* to <items>.
            loop at <items> into h_item.
                move-corresponding h_item to h_picked_items.
                append h_picked_items to g_picked_items.
            endloop.
        endif.
        submit rfebbu00 and return
            user sy-uname
            with anwnd = r_doc->*-anwnd
            with s_kukey in s_kukey
            with s_esnum in s_esnum
            with buber = g_posting_area
            with mregel = '1'
            with function = 'C'
            with mode = g_mode
            with p_bupro = g_bupro.
    *{ INSERT DHTK904077 2
    *--> Miguel Estu00E9vez - 17/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        if ( zkwbtr is not initial ).
            select single kwbtr
                into kwb
                from febep
                where kukey = h_kukey-low and
                    esnum = h_esnum-low.
                    zkwbtr = zkwbtr - kwb.
            export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
        endif.
    *<-- Miguel Estu00E9vez - 17/06/2008
    *} INSERT
        refresh s_kukey.
        refresh s_esnum.
        clear h_kukey.
        clear h_esnum.
    endloop. "loop over all picked items
    call function 'CUSTOMIZED_MESSAGE'
        EXPORTING
            i_arbgb = 'NEW_FEBA'
            i_dtype = '-'
            i_msgnr = '110'.
    RFEBBU00
    * original transaction currency provided and posting area = 2.
            ftclear-selvon = febep-fwbtr. "INSERT - mpEURO
        ENDIF. "INSERT - mpEURO
        CONDENSE ftclear-selvon NO-GAPS.
    *{ INSERT DHTK903977 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        data: zkwbtr type kwbtr.
        import zkwbtr to zkwbtr from memory ID 'ZKWBTR'.
        if ( zkwbtr is not initial ).
            ftclear-selvon = zkwbtr.
            clear zkwbtr.
        endif.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
    APPEND ftclear.
    ** Begin of comment C5053248
    * perform druck_buzei_ftclear using ftclear-agkon.

  • CProjects - Partition for two or more groups on the same system

    Hi,
    Our business requirement for cProjects implementation is such that we have two groups (two companies infact) under an umbrella brand. We have already impemeneted cProjects for one of them. It's time now to have this implemented for the other group.
    How can we ascertain that there's a partition in the system by which one group is completely independent of the other? One group should not see the projects/data of the other group and vice versa. Authorizations to projects helps but in a system, a user can fetch (in project search) the names of all projects in the system (irrespective of whether one has authorization). How can we take care of this?
    Summary:
    We are looking for the ssytem where one group of cProjects users works in the system as if it were the only group working. We intend to ensure the same for the second group as well.
    Please suggest.
    Regards...

    Hi Zhenbo,
    You get points for the "very helpful answer". Thanks.
    I have not been able to make a complete breakthrough though. Please see if you can help.
    There are three steps under "Structural Authorization"
    1. Create Authorization Profile: I see this defined in my system (comes from HR)
    2. Save user in SAP Memory (IMG has enough documentation on this.
    3. Assign Autorization profile to users: Here, I assigned one of the "Auth. Profiles" to the user (myself). At this, I see that the system (cProjects front end) returns an empty list.
    This means that the system expects the Business Partners, pertainig to that "Auth. Profile" (which I set in step 3 above). And because it does not find any, it returns an empty list.
    What I am not looking for is:
    How to bring in the Business Partners (we are using the HR Master Employees) under this "Auth. Profile" such that the system picks them when we do a resource search at cProjects front end?
    So... what I am looking for is: relation between this "Auth. Profile" assigned to the user and the Business Partners corrresponding to this "Auth. Profile".
    Please see if you can help.
    Regards,
    Bittu.

  • Hi, iTunes 11.1 don't tell me the duration of two or more tracks from the same album, which iTunes 10. did. How come? It is possible that the new version lacks such a possibility? Thanks

    Hi, thanks to whoever will be able to respond - which the Apple assistance on line in Italy could not do, after minutes of conversation!
    The point is that I cannot see anymore the total duration of two or more audio tracks selected from the same CD, but only the duration of the whole CD.
    With the previous version of iTunes this was very easy, as I simply clicked on the tracks the interested me and I suddenly had the total time.
    It makes no sense that Apple provides a new version which lacks one of the endless options of the program, therefore I hope it's only my faul in not being able to understand what to do. Otherwise, please tell me how can I downgrade and go back to iTunes 10....
    Paul Meadow

    Press CTRL+/
    tt2

  • How can I have multiple users edit the same calendar?

    I work on a team of about a dozen people. We already share individual work calendars through iCloud. We want to create a master iCal calendar that allows us to display our various deadlines on a given project. We want the people to be able to edit their own deadlines.
    How can I create a calendar that offers multiple user Edit permission?
    Thanks!

    Go to this page:
    http://help.apple.com/icloud/#mm6b1a9479
    and expand 'Share a calendar privately'.

  • Can two seperate login users on the same imac share songs movies etc...

    we have two different users on the one imac - one user has a extensive itunes library the other has nothing is it possible to send playlist from the one user to the other user empty itunes library ?

    Read this article and see if it helps.
    http://support.apple.com/kb/HT1203?viewlocale=en_US
    MJ

Maybe you are looking for