Action Script to add a parent node value to the top node

I need to add a new parent node value to a hierarchy for the top node.  The action script parameters to add a node is "Add|Version|Hierarchy|Node|Parent Node|Leaf property".  I am at a loss on what to do for the top node since there is no Parent Node above this top level, but the parameters require it.  I have reviewed both the user manual and admin manual, but did not find any assistance.  Can anybody help me?
Thanks!

You have the answer with you, don't get confused between Parent Node and Top Node in this context, while Adding a new node your Top Node will become your Parent Node.
"Add|Version|Hierarchy|Node|Parent Node|Leaf property"
If you still have confusion, simply do the below,
1. Right Click on your Top Node and Add a new Leaf or Limb Node manually
2. Once added, go back to Home -> Script
3. Select Source Type as Transaction Log and then select the newly added node and Load
4. In the bottom select Script -> Download -> Download as Action Script.
5. Open in a Notepad and leverage it to create your new script.

Similar Messages

  • Action Script to add MC as sub-pages ??

    Alright please help.. I have tried everything, been fooling
    around with this in the past 5 hours and its not going anywhere :(
    . Here is what i have. :
    I have 6 menu buttons... Button 4 is what i am concentrating
    on.
    at the moment here is the current action script of button 4 :
    --CODE---
    //-----this first few lines just controls the button
    animation --
    on (rollOver) {
    if (_root.link<>4) {
    gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    if (_root.link<>4) {
    gotoAndPlay("s2");
    //-----end of button animation-----
    on (release) {
    _root.scroller.scroller.gotoAndStop(3); // I understand this
    calls for fram 3 in an mc within an mc.
    if (_root.anim==true) { // not really sure where this means
    if (_root.link<>4) { // if value of _root.link
    <> 4 then activate the following code
    _parent["but"+_root.link].gotoAndPlay("s2"); // I kind of
    understand this part, i know it has to do with playing the button
    animation, but i am stuck where it says "but" + _root.link .
    _root.link = 4; // value of root.link
    _root.all.play();
    ok so basically, from what i can figure out what this action
    script does is : somehow it calls out a mc called "all action page"
    and the contents inside this mc are two layers. one layer is just a
    stop frame, and the other layer has multiple frames, each frame in
    the layer are each different mc's .. the _root.value is the value
    of each frame, for example if i change the value to 2 or 3 it will
    load frame 2 or 3 within the "all action page" mc..
    now my question, is is there any way i can replicate this
    script for the use of button 4 ?? i know i can just keep adding new
    frams and mc's to the current "all action page" and just keep
    changing the value that corresponds to the frame number, but i
    would like to make it more neater and structured incase if i need
    to change anything. any suggestions ??
    -Steph'

    This package contains two scripts the use EXIF meta data. The one you want is StampExif the other GoogleMapGPS....
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Download

  • URGENT: Add Non-working day value to the next working day

    Hello expertz!
    I have a requirement were i need to shift the values of the non-working days to the next working day. The report allready works, showing only the values for the working days, but for example if i have the amount of 100 on 06.12.2009 (saturday) i want that this value is added to the amount of 09.12.2009, which is the next working day.
    Does anybody knows a solution to do this? Is this possible in BEx?
    Please advise if you think this is not possible.
    Thanks for the help.
    Nuno

    Hi Anil,
    I really appreciate your suggestion, but i'm still not getting the point. How to store the value of the non-working day in a variable and then add it where? Can you please clarify?
    Thank you very much for your help.
    Nuno

  • How to print a value at the top of each page in the detail section of a rpt

    Thanks for helping, I will try to get right to the point.
    I have RTF template. Very simplistic template. I have the Group at the top (there is only 1 per XML file) and several DETAIL lines with like 10 columns.
    The first displayed field is "ACCOUNT_NUMBER". The user wished that if the ACCOUNT NUMBER for line 2 was the same as line 1, that it be suppressed, for example:
    Acct No other other other other
    1234 XX XX XX XX
    YY YY YY YY
    This was not a problem, I was able to accomplish it with the following code:
    <?if:position()=1 or ACCOUNT_NUMBER!=preceding::ACCOUNT_NUMBER[1]?><?ACCOUNT_NUMBER?><?end if?>
    But what happens is that IF THE FIRST line on a page has the same ACCOUNT_NUMBER as the last line on the previous page, the ACCOUNT NUMBER is not displayed.
    What I would like is for the ACCOUNT NUMBER to be displayed anytime we are at the first record on a page, AND anytime it is different from the previous record's value.
    I do not know how many lines per page are possible, because there are other line breaks which exist which put a space between lines when values change too. So I cannot just count how many total lines and divide it by lines per page.
    My thought was that there must be a way I could store a variable called LAST_PAGE, and at the end of each record, copy the current page number to that variable. Then in my ACCOUNT_NUMBER code, I could check if current page is NOT equal to last page along with my other conditions.
    1. Is this the best way to do this? If so, please help, I am new to BI and am having trouble figuring out where to put variables and stuff like that.
    2. If not, how can I do this?
    3. If your recommendation is going to be to group my items by Account Number, I may not have time to redo the report that way. I will happily supply the rtf and xml if that will help you help me.
    Regards:
    Michael Coughlin

    Here ya go. Obviously you can duplicate the G_DETAILS blocks to get enough for 2 pages. I have the data pre-sorted before the output is generated because I had trouble getting the RTF to work if I didn't, just so you know.
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle Reports version 6.0.8.28.0 -->
    <XXDIPICK_RPT>
    <LIST_G_HEADERS>
    <G_HEADERS>
    <SHIP_FROM_ORG_CODE>202</SHIP_FROM_ORG_CODE>
    <LINE_STATUS>Picked</LINE_STATUS>
    <LIST_G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>1000</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER>8062</DELIVERY_NUMBER>
    <ORDER_NUMBER>103049</ORDER_NUMBER>
    <CUST_NAME>DIAMOND INNOVATIONS INT SALES - NEWCO</CUST_NAME>
    <DELIVERY_DETAIL_ID>12474</DELIVERY_DETAIL_ID>
    <LINE_NO>1.1</LINE_NO>
    <ITEM_NO>4087401</ITEM_NO>
    <ITEM_DESCRIPTION>HPD M SD-CTO-0 Pot</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>1</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>EA</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-31T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>INTERNAL ORDER - US</NAME>
    <CUST_ACCOUNT_ID>16404</CUST_ACCOUNT_ID>
    <HEADER_ID>6446</HEADER_ID>
    <LINE_ID>7926</LINE_ID>
    <ORG_ID>84</ORG_ID>
    <SHIP_TO_ORG_ID>16050</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>16052</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>63927</INVENTORY_ITEM_ID>
    </G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>1000</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER>8062</DELIVERY_NUMBER>
    <ORDER_NUMBER>103049</ORDER_NUMBER>
    <CUST_NAME>DIAMOND INNOVATIONS INT SALES - NEWCO</CUST_NAME>
    <DELIVERY_DETAIL_ID>12475</DELIVERY_DETAIL_ID>
    <LINE_NO>2.1</LINE_NO>
    <ITEM_NO>3732307</ITEM_NO>
    <ITEM_DESCRIPTION>NV MBS 2325 Bushing Asm</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>1</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>EA</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-31T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>INTERNAL ORDER - US</NAME>
    <CUST_ACCOUNT_ID>16404</CUST_ACCOUNT_ID>
    <HEADER_ID>6446</HEADER_ID>
    <LINE_ID>7927</LINE_ID>
    <ORG_ID>84</ORG_ID>
    <SHIP_TO_ORG_ID>16050</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>16052</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>67865</INVENTORY_ITEM_ID>
    </G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>46711</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER></DELIVERY_NUMBER>
    <ORDER_NUMBER>102980</ORDER_NUMBER>
    <CUST_NAME>VAREL EUROPE</CUST_NAME>
    <DELIVERY_DETAIL_ID>12356</DELIVERY_DETAIL_ID>
    <LINE_NO>1.1</LINE_NO>
    <ITEM_NO>11004002</ITEM_NO>
    <ITEM_DESCRIPTION>TYPE I 100/120 MISC</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>75</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>CT</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-27T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>STANDARD ORDER - IRE</NAME>
    <CUST_ACCOUNT_ID>5004</CUST_ACCOUNT_ID>
    <HEADER_ID>6234</HEADER_ID>
    <LINE_ID>7312</LINE_ID>
    <ORG_ID>85</ORG_ID>
    <SHIP_TO_ORG_ID>18929</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>4995</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>42032</INVENTORY_ITEM_ID>
    </G_DETAILS>
    <G_DETAILS>
    <SHIP_FROM_ORG_CODE1>202</SHIP_FROM_ORG_CODE1>
    <ACCOUNT_NUMBER>76127</ACCOUNT_NUMBER>
    <DELIVERY_NUMBER>7608</DELIVERY_NUMBER>
    <ORDER_NUMBER>102981</ORDER_NUMBER>
    <CUST_NAME>LION ENGINEERING SERVICES LTD</CUST_NAME>
    <DELIVERY_DETAIL_ID>12357</DELIVERY_DETAIL_ID>
    <LINE_NO>1.1</LINE_NO>
    <ITEM_NO>11004002</ITEM_NO>
    <ITEM_DESCRIPTION>TYPE I 100/120 MISC</ITEM_DESCRIPTION>
    <OPEN_FLAG>Y</OPEN_FLAG>
    <CANCELLED_FLAG>N</CANCELLED_FLAG>
    <BOOKED_FLAG>Y</BOOKED_FLAG>
    <ORDERED_QUANTITY>200</ORDERED_QUANTITY>
    <ORDER_QUANTITY_UOM>CT</ORDER_QUANTITY_UOM>
    <SHIPPED_QUANTITY></SHIPPED_QUANTITY>
    <SCHEDULE_SHIP_DATE>2011-01-27T23:59:00+00:00</SCHEDULE_SHIP_DATE>
    <NAME>STANDARD ORDER - IRE</NAME>
    <CUST_ACCOUNT_ID>5614</CUST_ACCOUNT_ID>
    <HEADER_ID>6235</HEADER_ID>
    <LINE_ID>7318</LINE_ID>
    <ORG_ID>85</ORG_ID>
    <SHIP_TO_ORG_ID>18429</SHIP_TO_ORG_ID>
    <INVOICE_TO_ORG_ID>5605</INVOICE_TO_ORG_ID>
    <SHIP_SET_ID></SHIP_SET_ID>
    <INVENTORY_ITEM_ID>42032</INVENTORY_ITEM_ID>
    </G_DETAILS>
    </LIST_G_DETAILS>
    </G_HEADERS>
    </LIST_G_HEADERS>
    </XXDIPICK_RPT>

  • How to display the Overall result value at the top of work book

    Hi,
      How can i display the value of  Overall result(Sum of the Total) column at the top of the work book in Text field.
    Thanks
    Sreadhar

    Go to Query Global properties in Query designer and you can find a setting to show result rows on top. This setting will show overall result as first row in the report. But I don't think you can show it in Text field in WB.

  • Prompt values At the top of OBIEE reports

    Hi All,
    Actually we have a requirement like we have to display the values which is entered by the user in the prompt , at the top of the answers report.
    For eg: If the user enters the “Name” as “x” and “Number” as “1″ in the prompt, at the top of answers report, is should be displayed as Name : x ,and in next line , Number : 1.
    And I was able to do this by creating a presentation variable for my prompts and calling that variables in the narrative view.
    But the problem is my user enters values for atleast 10 fields like no, name,...,...., etc. So Its not appealing to have 10 narrative views. Is there anyother way of making this possible?
    can anyone guide me in this?
    Thanks,
    Surya

    Hi surya,
    may be a tip to think about....make use of a html table in one narrative view where you refer to all your presentation variables filled in by the end-users.
    Is that something that can fullfill your requirement?
    Kr,
    A
    oeps it's already resolved in your other thread, still a bit sleepy ;-)
    Edited by: ADB on Aug 30, 2011 4:00 AM
    Edited by: ADB on Aug 30, 2011 4:00 AM

  • Netui:select default value at the top

    I am using netui:select with following syntax:
    <netui:select defaultValue="--Select--" dataSource="{actionForm.contactType}"
    optionsDataSource="{pageFlow.contactTypes}" styleClass="app-commomForm"> </netui:select>
    The problem is "--Select--" is shown at the bottom of the drop down. What do I
    do to show at the top of the list?

    Maybe you can use the default value attribute, that way the user will always see the select selected...
    or maybe try using a string array and place select at the start of the array...

  • How to make the parent div tag hug the top of the page?

    Okay, if you are not sure what I mean here is a website that has it, look at the top of the page and note that the banner is bumped up against the top of the page. http://thecreatureconservancy.org/. Anyway, I can't figure out how to do that, here is the code of the website I'm working on.
    Copper Leaf Crossing is a 23 acre complex dedicated to the care of animals.We have created a warm and friendly destination for animal enthusiasts.Wether you have a cat or canary, a dog or a frog, we can help you care for your pet. On campus, you will find:       Animal Kingdom Veterinary Hospital - Their compassionate and dedicated staff are    skilled in the medical care of both domestic and exotic pets.
    Creature Comforts Bed & Bath a great pet boarding facility for dogs, cats, birds, reptiles and small mammals that also offers pet grooming.
    The Creature Conservancy- A truly unique non-profit organization that offers avariety of educational programs with live exotic animals, summer camps, tours and a variety of animals on display.       Dogwood Veterinary Referral Center - a full service imaging and surgery centerthat provides exceptional care for pets with neurological problems.   
         4940 Ann Arbor-Saline RD Ann Arbor MI 48103                        
    Thank you!

    Try zeroing out the padding as well.
    body{
    margin:0;
    padding:0;
    If that doesn't work, you could try adding:
    html{
    margin:0;
    padding:0;
    It's difficult to know exactly without the URL and/or updated code.

  • Can't add action script to my buttons, need help

    I'm trying to add action script to my buttons to link them but the script menu has the message "Current selection cannot have actions applied to it" Why is this happening?
    see attached

    Okay,
    I have a page where I have a button that states "PRODUCTS". I need to get
    the button to send the user to another page called "products.swf
    (products.fla)". What script to I insert in the actions menu?
    Thanks
    Derrick Young - Graphic Designer, Art Dept.
    (d) 403.250.4261 | (f) 403.250.4336 | www.calgarysun.com
    (e) [email protected] | (a) 2615 12th Street N.E., Calgary, AB
    T2E 7W9

  • Flash Newbie needs help with Movie Clips/Action Scripting

    Hi -
    I'm having a problem with my movie clips playing
    simultaneously and cannot, for the life of me, figure out what I
    have done wrong. I'm new to flash, so I may have set something up
    incorrectly, but here's what I have so far:
    11 layers, total: 1 layer with 10 control buttons, each
    button with the following actionscript:
    on (release) {
    gotoAndPlay(85);
    Where the number changes in relation to which keyframe the
    next movie is on.
    I have 10 movies, total, but they are only movie clips,
    essentially photo slide shows with audio, made all in the library.
    The problem happens when I click on the second or third
    button. Not only does the movie that I have selected begin to play,
    but all of the previous clips do as well, so it all sounds quite
    garbled. I don't know what I am missing in the action script, as my
    Action Layer has a stop command on it at each keyframe where there
    is a new clip to play.
    I have tried to add a stopAllSounds command, but I'm afraid
    that doesn't do anything because it is not a "sound file" per se,
    playing in the timeline.
    I'm at the end of my rope and really need some help in
    figuring this one out. My project is hanging in the balance on
    this, as I have scripted everything else correctly and it runs
    beautifully.
    Please help!
    Thanks,
    Caroline

    Each layer has a blank keyframe before and after each
    movieclip. Each movie clip is at a different frame. Even with the
    blank keyframes added, the second video starts to play and then the
    first video begins to play. Same happens if I click on the third
    button. Third plays, and starts 1st and 2nd shortly thereafter. Is
    there an action script I can put in that will tell the timeline
    that, when a button is clicked, no matter where the movieclip is,
    it will stop and start the newly selected movieclip?

  • How to avoid custom action script link executing for all pages. It should execute for only custom list

    Hello all,
    The below code creates the custom action script link. however this is executing for all the pages.
    I want to execute only to list not on all the pages. How i can acheive this. Please help
    var context =
    new SP.ClientContext.get_current;
    this.oWebsite = context.get_web();
    var collUserCustomAction =
    this.oWebsite.get_userCustomActions();
    var scriptLink = collUserCustomAction.add();
    scriptLink.set_name('Welcome');
    scriptLink.set_title('Welcome');
    scriptLink.set_description('Welcome to new custom script Link');
    scriptLink.set_location('ScriptLink');
    scriptLink.set_scriptSrc('~Site/Scripts/test.js');
    scriptLink.set_group('');
    scriptLink.update();
    Navaneeth

    Then Edit the list page add the script editor web part on the page . Copy the paste the script. Now it will affect the list only. Or else in your script just validate the list id.
    Ravin Singh D

  • Parent member values in Fact tables

    Hello,
    I want to understand something, as far as I know, we can only send data to base level members, right ?
    Then how come we find rows of data that have parent member values in the Fact tables ? (assuming we do not play manually with the database of course), I thought that this can be due to an import with the data manager, can this be right ?

    nilanjan chatterjee wrote:
    Hi,
    >
    > The data for the parent members should be available in the SQL tables.
    > For example, 2011.TOTAL is parent member. You should not have any data for this member in your database. If it is there, it might have come somehow (may be an import). But this is not right. You might want to remove these records. But be sure that you dont delete the records for the base level members.
    >
    > Hope this helps.
    I guess you meant should not, right ?

  • How to adde New Language field value in CRM Business Partner Language Field

    Dear all,
    How can we add a new field value to the Business Partner Language field in CRM and ECC systems.
    Your suggestions will be highly appreciated
    Thanks
    Sravanthi

    Hi Shravanthi,
    You would need to add the new language to table T002. Once this is done, it will appear in the drop down menus.
    Regards,
    Rishu.

  • How to load data with carriage return through DRM action script ?

    Hello,
    We are using DRM to manage Essbase metadata. These metadata contain a field for member formula.
    Currently it's a string data type property in DRM so we can't use carriage return and our formula are really hard to read.
    But DRM support other data type property : memo or formatted memo where we can use carriage return.
    Then in the export file, we have change the record delimiter to an other character than CRLF
    Our issue : we are regularly using action script to load new metadata => How to load data properties with carriage return using action script ? There is no option to change the record delimiter.
    Thanks!

    Hello Sandeep
    here what I want to do through action script : loading a formula that use more on than one line:
    Here, I write my formula using 4 lines but action script cannot load since one line = 1 record.
    ChangeProp|Version_name|Hier_name|Node_name|Formula|@round(
    qty*price
    *m05*fy13

  • My CS4 crashes when opening a new action script 3

    Hello folks,
    I’m new to Flash and am currently taking a class, so please forgive me if this turns out to be an obvious fix, but I’m using flash for the first time and have been trying to open a new flash file: action script 3 but haven’t been successful cause the program immediately crashes. I’ve checked to confirm that my laptop meets the requirements so I’m not sure what it could be.
    …Any suggestions? I’ve attached the error reports.
    Thanks for your time.
    signed,
    Hopelessly untech savy

    Thanks for the reply Ned. It does crash when opening AC2 also. And I do have the most current updates. Correction: it does open under "guest" user account in both ac2 and ac3.
    FYI. the other apps in CS4 work in my profile. And my laptop is new and meets the standards to run the app.
    ...Any suggestions? I would be most greatful for any feedback in correcting this issue.
    Thanks for your time.
    Naomi

Maybe you are looking for

  • How to stop Internet Explorer upgrade to IE 10 & IE 11

    Dear All, How to stop Internet Explorer upgrade to IE 10 & IE 11  In our environment we have around 300 workstations.I need to stop all of the machine users from manually downloading and installing IE.Also how do it stop the IE from updating using Gr

  • Problems opening attachments in work-item

    Good day all, I'm having an issue currently within the SAP Inbox, it's regarding file attachments inside the work-items. The problem is that for some reason that I don't know, the files are correctly uploaded to the the work-item but afterwards I can

  • Alternative to webservice for data exchange in PDF (Form Export Rights in Reader)

    Hello, I'm exchanging data between my pdf and a web server. Basically, the pdf needs to get some xml string from the web server, alternatively send some xml string to it. This is now done using a webservice, and it works fine with the SOAP javascript

  • Active Directory / Domains

    I just setup an iMac G5 on a network with a Windows 2003 domain controller. Is there a way to setup the login screen to check the username/password against the domain rather than local users?

  • Level and Connect by

    Hello all, Can anyone define LEVEL and CONNECT BY as i'm unable to figure out its concept. Thank You KK