[CS3][JS] Create Group Prior to its Children

Hi
Is there a way to create group along with all members in one go?
What I currently do is:
myGroupMembers = [
myBox01,
myBox02,
myBox03,
myBox04
myDoc.groups.add(MyGroupMembers)
Obviously, InDesign has to create all group members first and let me stare
at the partial screen updates as the script runs. This can take quite long
for 500 item catalogue subsection.
So I thought there must be a quicker way.
So far I tried this:
mySpecs = {
myItem01: Rectangle{
label: "01",
// other properties
myItem02: Rectangle{
label: "02",
// other properties
myItem03: Rectangle{
label: "03",
// other properties
myGroup = myDoc.groups.add(mySpecs);
I based this on ScriptUI resource string. I didn't expect it to work (It
doesn't indeed). I'm just wondering whether it's only syntax error or flawed
idea.
Can anuone help me please?
Thanks
Weller

Change those curly brackets around your mySpecs definition to square brackets (thereby changing it from an object to an array) and I think it'll work.
Dave

Similar Messages

  • HT3529 My group messaging on/off label isn't showing up at all. I can only create group messages but every time someone starts a group chat it says its send to my number but I never got any text. I wen't to settings Messages and I can't find any on/off sw

    I can only create group messages but every time someone starts a group chat it says its send to my number but I never got any text. I wen't to settings>Messages and I can't find any on/off switch.

    Hello there, Idaniabb.
    The following Knowledge Base article offers up some great information in regards to group messaging and also links to another excellent resource for troubleshooting messages as well:
    iOS: Understanding group messaging
    http://support.apple.com/kb/HT5760
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Is it possible to create group above report between to different data model

    Hi,
    I am having one problem.. I am working on Bi publisher 10...
    I have to create 2 different data models.. which i have done successfully.... its showing xml data perfectly.. but my problem is i want my 2nd data model to be dependent of 1st model...
    when i am designing my template ... i am not able to create a group by report..
    i want my report like this ...
    ------------------------------------------------------------ (fetching data from first data model)
    abc xyz pqrs
    --------------------------------now their it must show the data from second data model... dependent on first model...
    simply i want to know is it possible to create group above report between to different data models..

    Thanks for your response..
    I already tried this.. But its not working ..
    i want parent information from data model 1
    then all detail information related to parent template ...from data model 2..
    but its not working.. its giving me all parent informations first then all details informations..

  • How to duplicate a node along with its children in a JTree?

    Hello,
    Can anyone tell me how to duplicate/create a copy of a node
    along with its children?
    Code snippets will be appreciated.
    Thank you.

    It cant be done . You have to write a z pogram to update the data in the new dbtable.

  • Setting the size of a tablespace prior to its creation

    Hi guys,
    Oracle version: 10.2.0.x
    OS: Windows 32bit
    I was wondering if there are any 'conditions' in setting the intial size of a tablespace prior to its creation. This is because, one of our customers wants to export and import from one schema into another but set an initial size for a tablespace during its creation and prior to importing data into it, but we have a database wizard tool that creates the accounts/schemas by using the following underlying sql:-
    CRETE TABLESPACE <tbl_name> datafile <path><datafile_name>.dbf SIZE 100M AUTOEXTEND ON NEXT 100M MAXSIZE 32000M DEFAULT STORAGE (INITIAL 256 NEXT 256K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0) ONLINE;
    Under normal circumstances, what he would do is to use our wizard tool and create an account and then import data from an export dump.
    But he wants to create a tablespace using a SQL something like:-
    CRETE TABLESPACE <tbl_name> datafile <path><datafile_name>.dbf SIZE 2000M AUTOEXTEND ON NEXT 500M MAXSIZE 32000M DEFAULT STORAGE (INITIAL 256 NEXT 256K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0) ONLINE;
    He thinks this should be ok because his export dump would be on size 2GB and would want to import all of that 'at once' i.e. without actually using autoextend feature for the first 2GB.
    Does this make any sense? Do you guys see any difference 'performance-wise' between the 2 create tablespace statements?
    I think the second sql (with size 2000M initially) seems to be a more logical approach but I am not really sure of the implications going down the line performance-wise.
    Any help/input much appreciated!
    Thanks guys

    1) Provide the facility in your tool to change the default size of datafiles and keep autoextend off.You won't believe it...we had this option in a previous version but now it isn't there anymore!
    But why turning off AUTOEXTEND? I mean, our customers are not meant to modify anything in the database other than via using our software, hence we would want our customers to just use the software as it is but have their DBAs monitor the growth of any datafiles etc...
    2) Let your tool do what it is doing and then manually increasing the size of the datafiles and making autoextend off once you have created the tablespace and before doing import. This can be done by your tool or loggin to the database.We could do this, but we don't want our customers to manually finger the database as they are/might not be Oracle-efficient and wouldn't want production systems to crash for the same reason.
    Hence we could just give them the SQL to be replaced with the 'default' one and then create a tablespace via the tool which would create a tablespace with an initial size of 2GB+ and with greater autoextend facility (such as autoextend on 500M) rather than 100M so that there are fewer autoextends.
    Also, in your point 2, are you saying to turn off autoextend only for the import and set it back on by alter tablespace....?
    Thank you.

  • Can't find a self created group during add group in reporting

    The Operations manager that i am using si 2012. First let me describe what I have done.
    In "Authoring", I have created a new group and added two object which is a Windows server 2012 into the group. Then, I tried to use the Windows Server 2012 report template in "Reporting" to create a performance report. After opened the
    report template, there is an "Add Group" button to choose a group of server which need to run the performance report. I have tried to search that created group using its name with or without the % wildcard. Unfortunately, I failed to search my group.
    I have tried to use just only the % wildcard to retrieve all entries. I still failed to find my group from the list.
    The next thing I did is connect to the Operation manager's database, that is the OperationManagerDW database. From my understanding, all entries of object should be stored in the dbo.managedentity table. I have tried to look up the table which display name
    is my create group but still fail. My created group does not have an entry in the table.
    So, my question is what I have missed to make my group searchable in creating report during add group?
    Thanks a lot.

    Dear Xin Guo,
    I have tried your SQL statement and the return is same as what I have experienced when using the Add Group function when running report. That is, my custom group created in the Authoring cannot be seen. 
    I have also checked the OM log but no error being noticed. It seems to be the tables which store the Group created in Authoring is not synchronize with the entries in the ManagedEntity tables. 
    It this a known behavior or my process on creating a custom group in Authoring is not correct? Actually, I followed the steps as described in Microsoft website. The steps is very straight forward and it is not easy
    miss anything.
    Looking forward for your further advise in working out on this. Since I want to generate reports for a group of computers by using the custom group instead of select all computers one by one every time when I run a
    report. 
    Thanks a lot in advance.

  • Clustered role 'Cluster Group' has exceeded its failover threshold.

    Hello.
    I’m hoping to get some help with a cluster issue I’m having using Windows Storage Server 2012.
    When the cluster is created my Cluster Core Resources are all happy and online.
    I can more the Cluster Name using “move Core Cluster Resources” between the two nodes without any problems.
    If I select ‘Simulate Failure’ on the IP Address resource, it works the first time
    If I do it again shortly after it fails and I get an Event ID 1254, 1205 and 1069.
    Event ID 1254
    Clustered role 'Cluster Group' has exceeded its failover threshold. 
    It has exhausted the configured number of failover attempts within the failover period of time allotted to it and will be left in a failed state. 
    No additional attempts will be made to bring the role online or fail it over to another node in the cluster. 
    Please check the events associated with the failure.  After the issues causing the failure are resolved the role can be brought online manually or the cluster may attempt to bring it online again after the restart delay period.
    Event ID 1205
    The Cluster service failed to bring clustered service or application 'Cluster Group' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.
    Event ID 1069
    Cluster resource 'Cluster IP Address' of type 'IP Address' in clustered role 'Cluster Group' failed.
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it. 
    Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    Basically I’m trying to simulate a network failure to make sure the failover kicks in.
    If I click on it and ‘Bring Online’ it comes up fine.
    Where do I find this Threshold Policy and set it to initiate failover if the IP Address resources fails?
    Thank you in advance for your help.

    Hi,
    The failover threshold is the number of times the group can fail over within the number of hours specified by the failover period. For example, if a group failover threshold is set to "5" and its failover period to "3," the clustering software stops attempting
    to bring the group online and leaves the resources within the group in their current state. For example, if the IP Address resource is brought online but the Network Name resource fails, the group is left offline, but the IP Address resource is left online.
    To configure thresholds for a resource:
    Right-click the cluster resource and then select 'Propereties'
    Click 'Advanced'
    Select 'Do not restart' if the cluster service should not attempt to restart. Restart is the default
    If 'Restart' is selected:
    Affect the Group: uncheck to prevent a failure of the selected resource from causing the Server group to failover
    Threshold: number of times the cluster service will attempt to restart the resource, and period is the amount of time in seconds between retries
    Do not modify the 'LooksAlive' and 'IsAlive' settings
    Unless necessary, do not alter the 'Pending Timeout'. This is the amount of time the resource is either in the online or pending or offline pending states before the the cluster service puts it in either offline or failed state
    For more information please refer to following MS articles:
    Windows Failover Clustering Overview
    http://blogs.technet.com/b/rob/archive/2008/05/07/failover-clustering.aspx
    Tuning Failover Cluster Network Thresholds
    http://blogs.msdn.com/b/clustering/archive/2012/11/21/10370765.aspx
    Failover cluster (group) maximum failures limit
    http://blogs.msdn.com/b/arvindsh/archive/2012/03/09/failover-cluster-group-maximum-failures-limit.aspx
    Lawrence
    TechNet Community Support

  • [svn:fx-trunk] 12542: When adding a mask to the display list need to validate it and all its children .

    Revision: 12542
    Revision: 12542
    Author:   [email protected]
    Date:     2009-12-04 10:38:32 -0800 (Fri, 04 Dec 2009)
    Log Message:
    When adding a mask to the display list need to validate it and all its children.  Previously the children were not validated and their display list was updated before properties were committed or measure was done.  RichText was not set up to handle this.
    QE notes:
    Doc notes:
    Bugs: SDK-24511
    Reviewer:  Evtim, Deepa
    Tests run: checkintests, fxg, primitives, Group
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24511
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/MaskUtil.as

    AFAIK, the only way to do this is to write a system modifcation.
    The BADI is executed only once at startup of the session, so that makes it merely static. (A strange point in time, I discussed it with SAP and they just shook their heads)
    I had the same problem with some other F4-Helps and it was a big hazzle. From my experience, no straight answer.

  • Copy Parent and its children records

    Hello:
    I have a requirement to implement the "deep copy" functionality i.e. copy Opportunity and its children records including Contact, Opportunity Product Revenue etc. Can this be accomplished with the weblink, web services or any other options? I have went over the Oracle web services Guide doc, but I am still not sure what steps need to take in order to implement this "deep copy" functionality. Could you direct me to any reference docs to implement this?
    Thanks in advance!
    -AJ

    Briefly, it looks like this.
    "Deep copy", as you describe it, can be just a programmatic manipulation of data via WebServices. So your program would go through these steps:
    - login to WS (or use stateless sessions)
    - use Query method on Opportunity object Web Service to retrieve all fields from the record, and all child records
    - create new Opportunity record, by calling Insert method
    - create child records of all types you need, also by calling Insert method (in WS 1.0 you will use InsertChild)
    Exact details depend on your programming language.
    You may need to use both 1.0 and 2.0, or select which version to use, because these two interface support different child objects.
    In any case, there is no way to create both parent and children in one call - you create Opportunity record, and then reference its ID in new child objects.
    Hope it helps.

  • ITunes creates duplicate tracks on its own

    Hello everyone,
    I noticed recently that iTunes is creating duplicate tracks on its own. The new “tracks” all reference to the same file. Sometimes there are up to 4 duplicates (see screenshot). As you can see on the far right of the image, it seems that every time I ran iTunes the tracks are added.
    I did not change anything recently, but noticed that iTunes also updates my Cover Art, even though I explicitly unchecked the checkbox the settings…might be connected to my issue.
    Any advice is much appreciated!
    regards
    modtastic

    Is the media folder stored on an external drive? If you start iTunes with an external disconnected it will "notice" and mark all tracks as missing. If you then add media by scanning folders it won't notice that it is already connected to the files and will add them again. Next time you start iTunes you can have two tracks linked to the same physical file.
    How do you normally add media to the library?
    To check your library for duplicates use Shift > View > Show Exact Duplicates as this is normally a more useful selection. Keep holding down shift until you have clicked on the text Show Exact Duplicates or it may still use the loser definition. If you don't see a menu bar press Ctrl+B to reveal it or Alt to show it temporarily.
    If you find that you have true duplicates you need to manually select all but one of each group to remove, or use my DeDuper script if you don't want to do it by hand. The script attempts to take account of different types of duplicates which need to be handled differently, merges playcounts and preserves playlist membership. Please take note of the warning to backup your library before deduping. See this thread for background.
    iTunes doesn't generally do much in the way of background media updates, but it may reveal those enacted by something else, such as Windows Media Player.
    tt2

  • FRM-41072:Can't create Group (for a tree)

    Hello,
    the following code is trying to refresh data while saving the record which is a child of the child of the Grand parent.
    In Key-commit Trigger..
    The Query was working just fine without the new modification concept to have a child from the child.
    e.g.
    Electrical Equipment
    |_ Computer
           |_ Mother BoardAny way the Query works fine in Toad it displays what i want but in the forms' tree ..!!!
    Getting the following Error:
    --===========================
    FRM-41072:Can't create Group RG_DAL_MED
    FRM-41076 :Error populating Group.
    FRM-41085 :Error getting Group Row count.
    --===========================
    Using Forms 6i Windows XP ..!
    DECLARE
        selektas VARCHAR2(5000);
          rg_name VARCHAR2(4000) := 'RG_DAL_MED';
          rg_id      RecordGroup;
          find_node Ftree.NODE;
          n NUMBER (38);
          htree ITEM := Find_Item('TREE_BLOCK_TEST.TREE13');
          v_WHERE   VARCHAR2(5000);
    BEGIN
      rg_id := Find_Group(rg_name);
       IF NOT Id_null(rg_id) THEN
        DELETE_GROUP(rg_id);
       END IF; 
              V_WHERE := ('PARENT_ID IN ( SELECT   INSP_EQUIPMENT.EQUIPMENT_ID FROM INSP_EQUIPMENT 
         WHERE CLASS_ID IN (1,2,3,4)');
              V_WHERE := V_WHERE || (' AND INSP_EQUIPMENT.EQUIPMENT_TYPE_ID = ' || :INSP_EQUIPMENT.EQUIP_TYPE_ID ||'' );
              V_WHERE := V_WHERE || ( '     AND ( INSP_EQUIPMENT.PARENT_ID= '|| :EQUIP_ID );
              V_WHERE := V_WHERE || ( '   OR INSP_EQUIPMENT.PARENT_ID IS NULL ))');
              V_WHERE := V_WHERE  ||(' CONNECT BY PRIOR INSP_EQUIPMENT.EQUIPMENT_ID = INSP_EQUIPMENT.PARENT_ID START WITH  INSP_EQUIPMENT.PARENT_ID IS NULL ORDER BY EQUIPMENT_id ');
            selektas :=  'SELECT       1       NODE_STATE,                    LEVEL               NODE_DEPTH,
                                                       EQUIPMENT            NODE_LABEL,
                                     NULL                 NODE_ICON,
                        EQUIPMENT_ID         NODE_VALUE                           FROM                 INSP_EQUIPMENT
              WHERE V_WHERE ';
         rg_id := Create_Group_From_Query(rg_name, selektas);         
               n := Populate_Group(rg_id);
                n := Get_Group_Row_Count(rg_id);
    IF n > 0 THEN
       Ftree.set_tree_property(htree,Ftree.record_group,rg_id);
    END IF;
    END;Regards,
    Abdetu..

         selektas := 'SELECT 1 NODE_STATE,                    LEVEL NODE_DEPTH,
                                       EQUIPMENT NODE_LABEL,
    NULL NODE_ICON,
         EQUIPMENT_ID NODE_VALUE           FROM INSP_EQUIPMENT
              WHERE V_WHERE ';You have to add the V_WHERE as a value to your select:
    selektas :=  'SELECT  1       NODE_STATE,
                          LEVEL               NODE_DEPTH,
                          EQUIPMENT            NODE_LABEL,
                          NULL                 NODE_ICON,
                          EQUIPMENT_ID         NODE_VALUE                          
                     FROM INSP_EQUIPMENT
                    WHERE ' || V_WHERE;

  • Can You Restore Group Policy to its Deafault Settings

    I was wondering if you can restore Group Policy to its default settings with no GPO's or anything (except of course for the deafult two)?
    Thanks for the help.

    You can use the DCGPOFIX.EXE utility (see
    http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx) to return the "Default Domain Policy" and "Default Domain Controllers Policy" back to their default settings. If you do decide to do that, be sure you save a copy of the settings report from
    the GPOs as they sit before you run DCGPOFIX so that you can create addt'l GPOs with your customizations in them.

  • [svn:osmf:] 9829: Extending ILayoutContext with an ' updateIntrinsicDimensions' method, that the ILayoutRender uses to inform the context that context' s intrinsical dimensions may have changed because its children got layed-out .

    Revision: 9829
    Author:   [email protected]
    Date:     2009-08-31 06:38:08 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Extending ILayoutContext with an 'updateIntrinsicDimensions' method, that the ILayoutRender uses to inform the context that context's intrinsical dimensions may have changed because its children got layed-out. Adding implementing code to LayoutContextSprite and LayoutRendererBase.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/ILayoutContext.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutContextSprite.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutRendererBase.as

    A slow boot time can be caused by login items.
    User Login Items:
        Flux
        NoSleep
        ClipMenu
        Canon IJ Network Scanner Selector2
        BetterTouchTool
        USBOverdriveHelper
        TotalFinder
        Gmail Notifr
    Open System Preferences > Users & Groups > Login Items
    Remove one login item noted above then restart your Mac to test. It may be one or multiple items causing the slow boot.

  • Custom component in Flex 4.0 to change the label position on top of its children

    Need to show the label on top of its children by changing position of the FormItems lablel through custom component in Flex 4.0

    Hi,
    Thanks much for following up. Yes, my itemrenderer is defined inline and I did reference the dataprovider's group id via "outerDocument". As a matter of fact, I think I simply copied/pasted the code. The only significant difference I can see is yours is defined directly inside an Application tag whileas mine is under a VGroup:
    <s:VGroup>//this is the top tag
    <s:DataGroup>
            <s:layout>
                <s:VerticalLayout/>
            </s:layout>
            <s:ArrayList id="listDP">
                <fx:String>Age 21-30</fx:String>
                <fx:String>Age 31-40</fx:String>
            </s:ArrayList>
            <s:itemRenderer>
                <fx:Component>
                    <s:ItemRenderer autoDrawBackground="false">
                        <s:RadioButton label="{data}" groupName="{outerDocument.rbGroup}"/>
                    </s:ItemRenderer>
                </fx:Component>
            </s:itemRenderer>
        </s:DataGroup>
    </s:VGroup>
    Any ideas?
    Geng

  • While I have create group asset error occured Assert condition is voilated?

    Hi  All,
    while I have create group asset error occured Assert condition is voilated . Its runtime error .
    please can you send screen shot  screen layout of group asset in asset master data?
    Thanks
    Shailesh.
    9604645129.

    Hi
    what is the message number/ Dump ananlysis (check it in ST22) ?
    VVR

Maybe you are looking for

  • Deficit of stock even though there is stock

    Dear All, I have one proble during PGI, system shows me message M7 021 'Deficit of & & & & stock'  even though there is a stock according to transaction MMBE, MB5B on posting date. I transport this batch thru 101 movement against Production order thr

  • IPod Touch 2nd Gen Blues

    So, here's my dilema My son recently purchased a second generation iPOD touch 8gig from eBay. In his concern for the device being "jail broken" which I assume is some sort of piracy of some sort, decided to "Wipe" the phone clean and begin enjoying h

  • Error in Installing Oracle 9i on redhat 7.2 -- jre was not found again!

    I'm installing Oracle 9i on redhat 7.2. The machine I'm installing it on is an AMD k-6 500 mhz pc. While attempting to install Oracle 9i I think I'm successful (well, maybe not) except for the fact that the oui reports the following error: "configura

  • 13 inch mid 09 MBP will not boot in safe mode or os disc. originally kernal panic but now blank screen. is this logic board? no liquid damage.

    I upgraded the ram and hdd a while back(RAM first with no issues, then hdd around 2 months later). The computer started freezing a few days after the hdd upgrade. I reformatted the hdd and it worked fine for a few weeks then same freezing issue. Inst

  • 2 Country Accounts - Possible?

    I have a UK account with iTunes that I have used since I lived there. Now I live in Kuwait, I would like to open an account here as it's cheaper! However, I still want to be able to access the UK site for TV programs etc. as censorship means I cannot