Copy of attributes of records

Is there a way to copy the attributes of one puppet to another registration?

Gotcha, thanks to go into the details. Yes, transfer performance of one character to another would be really cool & useful.

Tags: Character Animator

Similar Questions

  • Is there a way to copy the attributes of one composition to another?

    I use After Effects 7.0

    I would copy the same attributes of Zoom of a composition of 30 photographs.

    In Final Cut, you can copy the attributes of one element to another. Or from one photo to another.

    Is it possible to do in AE 7?

    Thanx

    Mike

    There are dozens of ways you can go here. You can duplicate the comp, then replace the images in the layout. You can create predefined animations. You can select all the animated properties and copy and paste in another layer. It depends on your workflow.

    I suggest that you look into the preset animations. I have over 200 of those custom in my system. They save a ton of time.

  • Copy the attributes of an Expression between input and output

    Hi all

    Please let me know is possible to copy the attributes of entry and paste it into the attributes of output of an Expression inside the mappings.

    I have a number of columns in the table.

    Thank you
    Salih KM

    Hello

    It is not possible using the design center of gui.
    But you can do this by using the omb. Just adopt the code according to your needs (project, mapping and exploiting the name) and paste it into the omb * more windows of the design center.

    OMBCC '/MY_PROJECT/MYT_DB'
    set attributeList [OMBRETRIEVE MAPPING 'MAP_EXPRESSION' OPERATOR 'MY_EXP' GROUP 'INGRP1' GET ATTRIBUTES]
    foreach attribute $attributeList {
      set dataType [OMBRETRIEVE MAPPING 'MAP_EXPRESSION' OPERATOR 'MY_EXP' GROUP 'INGRP1' ATTRIBUTE '$attribute' GET PROPERTIES (DATATYPE)]
      set length [OMBRETRIEVE MAPPING 'MAP_EXPRESSION' OPERATOR 'MY_EXP' GROUP 'INGRP1' ATTRIBUTE '$attribute' GET PROPERTIES (LENGTH)]
      set precision [OMBRETRIEVE MAPPING 'MAP_EXPRESSION' OPERATOR 'MY_EXP' GROUP 'INGRP1' ATTRIBUTE '$attribute' GET PROPERTIES (PRECISION)]
      set scale [OMBRETRIEVE MAPPING 'MAP_EXPRESSION' OPERATOR 'MY_EXP' GROUP 'INGRP1' ATTRIBUTE '$attribute' GET PROPERTIES (SCALE)]
       switch $dataType {
         NUMBER { OMBALTER MAPPING 'MAP_EXPRESSION' ADD ATTRIBUTE '$attribute' OF GROUP 'OUTGRP1' OF OPERATOR 'MY_EXP' SET PROPERTIES (DATATYPE, PRECISION, SCALE) VALUES ('$dataType', $precision, $scale) }
         DATE { OMBALTER MAPPING 'MAP_EXPRESSION' ADD ATTRIBUTE '$attribute' OF GROUP 'OUTGRP1' OF OPERATOR 'MY_EXP' SET PROPERTIES (DATATYPE) VALUES ('$dataType') }
         default { OMBALTER MAPPING 'MAP_EXPRESSION' ADD ATTRIBUTE '$attribute' OF GROUP 'OUTGRP1' OF OPERATOR 'MY_EXP' SET PROPERTIES (DATATYPE, LENGTH) VALUES ('$dataType', $length) }
       }
    }
    

    Kind regards
    Carsten.

  • Copy properties/attributes of style element to another element?

    I want to ask you if anyone knows if there is a short path to copy item properties of another object than to go through all the possibilities with script. There are very many opportunities with shots and so forth, so it might be useful...

    I mean like with the "eyedropper", but with the script

    I can put them manually as below. But I just want to know is already possible "shortcut" to manage this copy of style kind object?

    var doc = app.activeDocument;
    var selectedItems = doc.selection;
    
    var newLayer = doc.layers.add();
    var ellipse = newLayer.pathItems.ellipse(100, 0, 100.0, 100.0, false, true );
    
    ellipse.fillColor = selectedItems[0].fillColor;
    ellipse.strokeColor = selectedItems[0].strokeColor;
    ellipse.strokeWidth = selectedItems[0].strokeWidth;
    ellipse.strokeDashes = selectedItems[0].strokeDashes;
    ellipse.strokeDashOffset = selectedItems[0].strokeDashOffset;
    // etc etc...
    

    You can bring an object to store the attributes you want to copy any piece of art, and then use this object as data for a function that takes another element of art as an argument and applies to all the appropriate options from the data object.

    My sample code here relies on having 2 points of path with the names of "mySource" and "myDest".

    The appStyle object acts as a Clipboard to hold the attributes of the art style and it uses loops for component snap to apply and copy them, which means that art objects had a "copyStyle" or "applyStyle" properties, if you mess up, then the names would need to change to be unique.

    #target illustrator
    function test(){
        var doc= app.activeDocument;
        var appStyle = {
             fillColor: null,
             strokeColor: null,
             strokeWidth: null,
             strokeDashes: null,
             strokeDashOffset: null,
             copyStyle: function(sourceArt){
                var a = sourceArt;
                for(var all in this){
                    if(a.hasOwnProperty(all)){
                        this[all] = a[all];
                    }
                }
             },
            applyStyle: function(destArt){
              var b = destArt;
                for(var all in this){
                    if(b.hasOwnProperty(all) && this[all] != null){
                        b[all] = this[all];
                    }
                }
            }
        };
    
        var mySourcePath = doc.pathItems.getByName('mySource');
        var myDestPath = doc.pathItems.getByName('myDest');
    
        appStyle.copyStyle(mySourcePath);
        appStyle.applyStyle(myDestPath);
    }
    
    test();
    
  • WebLink issues for copy opportunity and lead records

    I'm trying to create Web link fields to copy records opportunity and lead. I'm basically successful for occasions except that I can't list of choices or the values of link (for example, the associated account) to copy.

    I'm going to without success at all for the head copy field. My code is as follows:

    https://secure-ausomxbha.crmondemand.com/OnDemand/user/LeadsNewPageDefault?OMTGT=LeadCreateEditForm & OMTHD = LeadEditNav & OMRET0=LeadsDetailPage%3focTitle%3dPA%2bCasinos%26OMTGT%3dLeadDetailForm%26OMTHD%3dLeadDetailNav%26ocEdit%3dY%26OCTYPE%3dOther%26ocTitleField%3dFull%2bName%26LeadDetailForm.Id%3dABHA-5SVNQI & LeadCreateEditForm.Id = ABHA-5SVNQI & OCTYPE = Other & LeadCreateEditForm.First Name = % First_Name % & LeadCreateEditForm.Last Name = %% Last_Name %.

    Any thoughts?

    Thank you.

    Hello

    To my knowledge there is no written documentation that is available. But it's like I do. Go to the edit page of lead. Right-click in your Internet Explorer and choose view source. Search this business here say "First Name" or "Last Name". As part of the HTML displaying the field)html tag), you can find the exact domain name to use.

    The example in my case is below indicates the domain name is LeadCreateEditForm.First

    "First Name.""

    Hope this helps!

    -John CRMIT

  • try to copy files mini DVDs recorded on my camcorder on my hard drive. continue to "cannot read the file source or disk" when sound to half way through. __

    Unable to copy the mini dvd on hard drive.
    Get the error message "unable to read source files or disc.

    Hey derizz,

    Welcome to the Microsoft Answers site.

    If you cannot copy files normally, try to copy guest rather using Xcopy command.

    1. click on start, principally made programs, click Accessories and then right-click on command prompt, click Run as administrator.
    2. type the following command line and press ENTER. In the command line, drive is the letter of the CD drive or DVD drive.

    xcopy drive:-*. * /s > c:\test1

    See if that helps to successfully copied the files on your hard drive.
    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is it possible to copy/paste the entries recorded one character to another?

    If a bunch of different characters were all doing the same dance, for example, is it possible to animate one and then copy and paste elements of the track (entry camera, entry of the mouse, etc.) on the other characters (if they have the same anchor points)?

    Not at the moment.  Copy/paste functionality only offered by the host of character is the ability to copy data of track side video in After Effects and paste in character animation.  For more information: using After Effects | Face Tracking

    Hope that helps.

  • How can I copy an attribute?

    Hello, I gave an effect to a layer in AE, how can I copy this effect/settings in another layer?

    Thanks to respect.

    Sebastian, I strongly recommend going through these resources: starting After Effects they will help a lot with questions like that.

  • QUANDO FACCIO HER COPIA DI A WORLD RECORD PROGRAMMA NEL, PER CAMBIARE CORREGGERE E MI IF HOT IT PROGRAMMA VIENE E FUORI WINDOWS HA THEN DI FUNZIONARE

    Remember - This is a private forum pubblico per cui non pubblicare information I just numeri e-mail o Teléfono.

    Idea: If HOT IT PROGRAMMED WHEN BEGINNING a WRITE

    • I have programs if sono verificati problemi con
    • Error di messaggi
    • The comments related apportate al computer
    • Quello che hai gia tried a risolvere he problema

    You are here in the English forums.

    Please change the language:

    http://support.Microsoft.com/common/international.aspx

    and ask your native language forums. "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • How can I get the serial number for my copy of PSE 14 recorded in my account?

    I am the owner and that you have installed Photoshop Elements.  When I go into my account and see a list of my products and services, and most importantly, its serial number is not there, I don't I get the serial number "registered."

    It would SEEM that your serial number not is not properly registered

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • is it possible to record a video without rendering (like virtualdub direct copy flow)?

    Hello

    I have an avi video, I want to cut a part of the video

    so is it possible to record the video (with the part I want to cut) in "direct stream copy"?

    in record short without making it once again

    for example, I use windows 8.1 and virtualdub and avidemux can record video without re-encoding (rendering)

    VirtualDub is enough copy to selet for video and audio live stream

    vdubmod-videodsc.gif

    and in avidemux just select the video and audio copy

    I can do with first cs6 or cc?

    Thank you

    Which varies from format to format. With MXF OP1a, there is a checkbox "Enable Smart Rendering codec." In all other cases I know, smart rendering is done automatically - if (and it's a pretty big "If") the content of the source properties, the sequence settings and export settings are all aligned.

  • Please help how do to copy and apply attributes to another file

    I just started to learn AE CS5.5 and I'm stuck.

    I'm trying to reproduce or copy the attributes of a jpeg file to a layer in a model that has already been created. I'm not interested to reproduce the image, just the attributes (anchored features that make part of this file, choice of materials and processing)

    The file I want to apply these same attributes to is a .psd file which has several layers, that I want to apply these same effects.

    How to duplicate these attributes so that they retain the same settings?

    Thank you!

    Duplicate the layer with the effects & keyframes & whatnot. Yes, duplicate the layer.

    Select the duplicated layer, and then drag the images of the project on this duplicated layer window replacement.  Pouf!  Fact!

    I guess it would be alt-do drag on a windows machine.

  • EPA 8.0.1 copy the title attributes

    It doesn't seem to be a method to copy the attributes of a title, such as the text, color, text style options, etc. of a title out to a new title.

    Is there such a method or a way to create a template for a title and then use it again but with different words?

    Thanks for your help.

    Dennis

    For what you describe, I would do my title, necessary specifications, then in the Panel project, Rt-click, choose copy. This will place a copy of this title in the project Panel, and you can modify it, with text changes, etc., to adapt.

    Each will be a separate title and not only one Instance of this one.

    Hope that helps,

    Hunt

  • Different behavior of LOV dependent when copying folder

    Dear gurus,

    I use Jdeveloper 11.1.2.3.0

    method 1 is the new method that I wrote today, the record copy and depend on LOV is also refreshing about changing the parent value LOV LOV dependent same bit is also populated as the Franchise of the brand and the Type of mark, but the problem with this is little InputTextLOV load value is not complete when you copy as ASM SM, RFAM, RSM, TYPE of ACTIVITY, the NAME of the HIERARCHY and BRAND MANAGER who is highlighted in yellow.  as shown in the image below.


    https://outlook.office365.com/owa/service.svc/s/GetFileAttachment?id=AAMkADM4NzcwNjk5LWI2MTgtNDY1My05NzZmLWRlNGFiMGFmMjUwMwBGAAAAAACm8DyCMaD%2BQp7yH%2BWFWMVGBwBTXXB8hJYiTLjuY1paep%2BAAAAAAAEJAABTXXB8hJYiTLjuY1paep%2BAAAB9TPUOAAABEgAQAOgMHOGjUJJKmNT1aIvwLXw%3D&X-OWA-CANARY=QObvCeI93Eam98r9h2x6ouAdx8aU_9IY28_fuumJ1-0uhB5QaTdkinlT9oUPC5qZOENwaeKCD0I.

    Transient attribute with update = never is commented in the method 1. even tried transitional attribute update = ALWAYS,

    
           //method-1
                  public void copyProposal(javax.faces.event.ActionEvent actionEvent) {
                  // Add event code here...
            
                   System.out.println("Inside copyProposal Method::::");
                    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
                    java.util.Map pageFlowScope = adfctx.getPageFlowScope();
                    String userName = (String) pageFlowScope.get("user").toString();
                    Date date = new Date();
                    System.out.println("date::: " +date);
                    String date1 = new SimpleDateFormat("dd-MMM-yyyy").format(new Date()).toString();
                    System.out.println("date1::: " +date1);
                    String date2 = new SimpleDateFormat("mm/dd/yyyy").format(new Date()).toString();
                    
                    Calendar currenttime = Calendar.getInstance();
                        Date sqldate = new Date((currenttime.getTime()).getTime());
                        System.out.println("current Date_Time::: " +sqldate);
                    AppModuleImpl am = this.getAm();
                    ViewObject proposalHeaderVO = am.getProposalHeaderView2();    
                    //        ViewObjectImpl proposalHeaderVO = this.getProposalHeaderView2();
                    Row propHeaderCurrentRow = proposalHeaderVO.getCurrentRow();
                    String[] propHeaderAttrs = propHeaderCurrentRow.getAttributeNames();
                    //Skip copying the primay key attributes or any attributes which you want to skip
                    String[] skipAttrs = new String[] {"BranchProposalNumber", "BranchHoSerial","ProposalId","ProposalDate","CreationDate","ApprovalStatus","Attribute9","Attribute10",
                                                       "ProposalAmt","ApprovalRemarks","ApproverRemarkTemp","BudgetAmt","ConsumedAmt","RemainingAmt","AmountUtilized", "TotalLineAmount",
                                                       "TotalBudgetAmount","TotalRemainingAmount","TotalConsumedAmount"};//,"L1Approver","L2Approver","L3Approver","L1Code","L2Code","L3Code"
                    List skipAttrList = Arrays.asList(skipAttrs);
                    //creating a new duplicate row
                    Row dupRow = proposalHeaderVO.createRow();
          
            dupRow.setAttribute("ProposalDate", sqldate);
            dupRow.setAttribute("ProposalType", propHeaderCurrentRow.getAttribute("ProposalType"));
            dupRow.setAttribute("EffectiveStartDate", propHeaderCurrentRow.getAttribute("EffectiveStartDate"));
            dupRow.setAttribute("EffectiveEndDate", propHeaderCurrentRow.getAttribute("EffectiveEndDate"));
            dupRow.setAttribute("BranchId", propHeaderCurrentRow.getAttribute("BranchId"));
            dupRow.setAttribute("BranchName", propHeaderCurrentRow.getAttribute("BranchName"));
            dupRow.setAttribute("State", propHeaderCurrentRow.getAttribute("State"));
            dupRow.setAttribute("BusinessLine", propHeaderCurrentRow.getAttribute("BusinessLine"));
            dupRow.setAttribute("BrandFranchise", propHeaderCurrentRow.getAttribute("BrandFranchise"));
            dupRow.setAttribute("BrandType", propHeaderCurrentRow.getAttribute("BrandType"));
            dupRow.setAttribute("ApprovalStatus", "Pending");
            dupRow.setAttribute("BrandManager", propHeaderCurrentRow.getAttribute("BrandManager"));
           dupRow.setAttribute("ProposalAction", propHeaderCurrentRow.getAttribute("ProposalAction"));
            dupRow.setAttribute("ActionRemarks", propHeaderCurrentRow.getAttribute("ActionRemarks"));
            dupRow.setAttribute("ActivityTypeId", propHeaderCurrentRow.getAttribute("ActivityTypeId"));
            dupRow.setAttribute("ActivityType", propHeaderCurrentRow.getAttribute("ActivityType"));
            dupRow.setAttribute("Attribute1", propHeaderCurrentRow.getAttribute("Attribute1"));
            dupRow.setAttribute("Attribute2", propHeaderCurrentRow.getAttribute("Attribute2"));
            dupRow.setAttribute("Attribute3", propHeaderCurrentRow.getAttribute("Attribute3"));
            dupRow.setAttribute("Attribute4", propHeaderCurrentRow.getAttribute("Attribute4"));
            dupRow.setAttribute("BusinessLineName", propHeaderCurrentRow.getAttribute("BusinessLineName"));
            dupRow.setAttribute("BudgetAmt", propHeaderCurrentRow.getAttribute("BudgetAmt"));
            dupRow.setAttribute("ConsumedAmt", propHeaderCurrentRow.getAttribute("ConsumedAmt"));
            dupRow.setAttribute("RemainingAmt", propHeaderCurrentRow.getAttribute("RemainingAmt"));
            dupRow.setAttribute("ProposalAmt", propHeaderCurrentRow.getAttribute("ProposalAmt"));
            dupRow.setAttribute("ProposalDescription", propHeaderCurrentRow.getAttribute("ProposalDescription"));
            dupRow.setAttribute("CreatedBy", userName);
    //        dupRow.setAttribute("CreationDate",sqldate);
            dupRow.setAttribute("LastUpdatedBy", propHeaderCurrentRow.getAttribute("LastUpdatedBy"));
    //        dupRow.setAttribute("LastUpdateDate", sqldate);
            dupRow.setAttribute("AdfCreatedBy", userName);
            dupRow.setAttribute("ApprovalRemarks", propHeaderCurrentRow.getAttribute("ApprovalRemarks"));
            dupRow.setAttribute("Attribute6", propHeaderCurrentRow.getAttribute("Attribute6"));
            dupRow.setAttribute("Attachment", propHeaderCurrentRow.getAttribute("Attachment"));
            dupRow.setAttribute("Attribute7", propHeaderCurrentRow.getAttribute("Attribute7"));
            dupRow.setAttribute("Attribute8", propHeaderCurrentRow.getAttribute("Attribute8"));
            dupRow.setAttribute("Attribute9", propHeaderCurrentRow.getAttribute("Attribute9"));
            dupRow.setAttribute("Attribute10", userName);
            dupRow.setAttribute("Segment1", propHeaderCurrentRow.getAttribute("Segment1"));
            dupRow.setAttribute("Segment2", propHeaderCurrentRow.getAttribute("Segment2"));
            dupRow.setAttribute("Segment3", propHeaderCurrentRow.getAttribute("Segment3"));
            dupRow.setAttribute("Segment4", propHeaderCurrentRow.getAttribute("Segment4"));
            dupRow.setAttribute("Segment5", propHeaderCurrentRow.getAttribute("Segment5"));
            dupRow.setAttribute("Segment6", propHeaderCurrentRow.getAttribute("Segment6"));
            dupRow.setAttribute("L1Approver", propHeaderCurrentRow.getAttribute("L1Approver"));
            dupRow.setAttribute("L2Approver", propHeaderCurrentRow.getAttribute("L2Approver"));
            dupRow.setAttribute("L3Approver", propHeaderCurrentRow.getAttribute("L3Approver"));
            dupRow.setAttribute("L1Code", propHeaderCurrentRow.getAttribute("L1Code"));
            dupRow.setAttribute("L2Code", propHeaderCurrentRow.getAttribute("L2Code"));
            dupRow.setAttribute("L3Code", propHeaderCurrentRow.getAttribute("L3Code"));
            dupRow.setAttribute("ExpenceCategory", propHeaderCurrentRow.getAttribute("ExpenceCategory"));
            dupRow.setAttribute("ExpenceCategoryId", propHeaderCurrentRow.getAttribute("ExpenceCategoryId"));
            dupRow.setAttribute("HierarchyName", propHeaderCurrentRow.getAttribute("HierarchyName"));
            dupRow.setAttribute("FinYear", propHeaderCurrentRow.getAttribute("FinYear"));
            dupRow.setAttribute("Posm", propHeaderCurrentRow.getAttribute("Posm"));
            dupRow.setAttribute("HiqBrandManager", propHeaderCurrentRow.getAttribute("HiqBrandManager"));
            dupRow.setAttribute("Projectcode", propHeaderCurrentRow.getAttribute("Projectcode"));
    //        dupRow.setAttribute("PendingAppName", userName);
    //        dupRow.setAttribute("InHierarchy", propHeaderCurrentRow.getAttribute("InHierarchy"));
            dupRow.setAttribute("CurrentUser", userName);
            dupRow.setAttribute("CurrencyCode", propHeaderCurrentRow.getAttribute("CurrencyCode"));
            dupRow.setAttribute("ExchangeRate", propHeaderCurrentRow.getAttribute("ExchangeRate"));
    //        dupRow.setAttribute("ApStatus", propHeaderCurrentRow.getAttribute("ApStatus"));
    //        dupRow.setAttribute("StateCodeName", propHeaderCurrentRow.getAttribute("StateCodeName"));
            dupRow.setAttribute("BudgetLevel", propHeaderCurrentRow.getAttribute("BudgetLevel"));
            dupRow.setAttribute("AdfCreatedName",userName);
            dupRow.setAttribute("StateName", propHeaderCurrentRow.getAttribute("StateName"));
    //        dupRow.setAttribute("TotalLineAmount", propHeaderCurrentRow.getAttribute("TotalLineAmount"));
    //        dupRow.setAttribute("ExpenceMainCategory", propHeaderCurrentRow.getAttribute("ExpenceMainCategory"));
    //        dupRow.setAttribute("TotalBudgetAmount", propHeaderCurrentRow.getAttribute("TotalBudgetAmount"));
    //        dupRow.setAttribute("TotalRemainingAmount", propHeaderCurrentRow.getAttribute("TotalRemainingAmount"));
    //        dupRow.setAttribute("TotalConsumedAmount", propHeaderCurrentRow.getAttribute("TotalConsumedAmount"));
    //        dupRow.setAttribute("BudgetId", propHeaderCurrentRow.getAttribute("BudgetId"));
    //        dupRow.setAttribute("ExpenseCategorySwitcher", propHeaderCurrentRow.getAttribute("ExpenseCategorySwitcher"));
    //        dupRow.setAttribute("AmountUtilized", propHeaderCurrentRow.getAttribute("AmountUtilized"));
    //        dupRow.setAttribute("ApproverRemarkTemp", propHeaderCurrentRow.getAttribute("ApproverRemarkTemp"));
            dupRow.setAttribute("SpotLightAtt", propHeaderCurrentRow.getAttribute("SpotLightAtt"));
           
                    //Inserting the duplicate row
                    proposalHeaderVO.insertRow(dupRow);
                    
                    //EXECUTING SETPARAM for SelectActivities..
                    String activityType = (String)propHeaderCurrentRow.getAttribute("ActivityType");
                      activityType =   activityType.substring(0,activityType.indexOf("-",0));
                      System.out.println("value in activity Type::: " +activityType);
                    setParam(activityType);
                   
        }
    

    and here's the method 2

    method 2 is to copy all the fields, but change of LOV dependent parent or child LOV don't is not re-rested

    public void copyProposal(javax.faces.event.ActionEvent actionEvent) {
    // Add event code here...
            System.out.println("Inside copyProposal Method::::");
                    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
                    java.util.Map pageFlowScope = adfctx.getPageFlowScope();
                    String userName = (String) pageFlowScope.get("user").toString();
                    Date date = new Date();
                    System.out.println("date::: " +date);
                    String date1 = new SimpleDateFormat("dd-MMM-yyyy").format(new Date()).toString();
                    System.out.println("date1::: " +date1);
                    String date2 = new SimpleDateFormat("mm/dd/yyyy").format(new Date()).toString();
                    
                    Calendar currenttime = Calendar.getInstance();
                        Date sqldate = new Date((currenttime.getTime()).getTime());
                        System.out.println("current Date_Time::: " +sqldate);
                    AppModuleImpl am = this.getAm();
                    ViewObject proposalHeaderVO = am.getProposalHeaderView2();    
                    //        ViewObjectImpl proposalHeaderVO = this.getProposalHeaderView2();
                    Row propHeaderCurrentRow = proposalHeaderVO.getCurrentRow();
                    String[] propHeaderAttrs = propHeaderCurrentRow.getAttributeNames();
                    //Skip copying the primay key attributes or any attributes which you want to skip
                    String[] skipAttrs = new String[] {"BranchProposalNumber", "BranchHoSerial","ProposalId","ProposalDate","CreationDate","ApprovalStatus","Attribute9","Attribute10",
                                                       "ProposalAmt","ApprovalRemarks","ApproverRemarkTemp","BudgetAmt","ConsumedAmt","RemainingAmt","AmountUtilized"};  //,"L1Approver","L2Approver","L3Approver","L1Code","L2Code","L3Code"
                    List skipAttrList = Arrays.asList(skipAttrs);
                    //creating a new duplicate row
                    Row dupRow = proposalHeaderVO.createRow();
                    //copying all attributes one by one
                    for (int i = 0; i < propHeaderAttrs.length; i++) {
                        String propHeaderAttrName = propHeaderAttrs[i];
                    
                        if ("ProposalDate".equals(propHeaderAttrName))
                            dupRow.setAttribute(propHeaderAttrName, sqldate);
                        
                        int attrIndex = dupRow.getAttributeIndexOf(propHeaderAttrName);
                        //Checking if the attribute is in the skip attribute list and the attribute is updatable
                        if (!skipAttrList.contains(propHeaderAttrName) &&
                            dupRow.isAttributeUpdateable(attrIndex))
                            //Setting the value for the attributes
                            dupRow.setAttribute(propHeaderAttrName,
                                                propHeaderCurrentRow.getAttribute(propHeaderAttrName));
                        
                
                        System.out.println("nm,"+propHeaderAttrName+" k, j," +" " +propHeaderAttrName+" , ");
                    }
                    
                    dupRow.setAttribute("AdfCreatedBy",userName);
                    dupRow.setAttribute("Attribute10",userName);
                    dupRow.setAttribute("ApprovalStatus", "Pending");
                    dupRow.setAttribute("L1Approver", propHeaderCurrentRow.getAttribute("L1Approver"));
                    dupRow.setAttribute("L1Code", propHeaderCurrentRow.getAttribute("L1Code"));
                    dupRow.setAttribute("L2Approver", propHeaderCurrentRow.getAttribute("L2Approver"));
                    dupRow.setAttribute("L2Code", propHeaderCurrentRow.getAttribute("L2Code"));
                    dupRow.setAttribute("L3Approver", propHeaderCurrentRow.getAttribute("L3Approver"));
                    dupRow.setAttribute("L3Code", propHeaderCurrentRow.getAttribute("L3Code"));
                    
                    dupRow.setAttribute("ActivityType", propHeaderCurrentRow.getAttribute("ActivityType"));
                    dupRow.setAttribute("HierarchyName", propHeaderCurrentRow.getAttribute("HierarchyName"));
                    
                    dupRow.setAttribute("HiqBrandManager", propHeaderCurrentRow.getAttribute("HiqBrandManager"));
    
                    //Inserting the duplicate row
                    proposalHeaderVO.insertRow(dupRow);
                    
                    //EXECUTING SETPARAM for SelectActivities..
                    String activityType = (String)propHeaderCurrentRow.getAttribute("ActivityType");
                      activityType =   activityType.substring(0,activityType.indexOf("-",0));
                      System.out.println("value in activity Type::: " +activityType);
                    setParam(activityType);
                   
        }
    

    kindly help me to get the copy feature and feature update dependent lov.

    Best regards,

    MD Jahangir Pasha

    Dear gurus,

    Thank you for your support and answers.

    Problem solved, I added view accessors name in the attribute skip list. now it does not work as expected.

    Kind regards

  • How to set the value of adjecent record

    Hello

    For an interactive report, I wanted to know, how set the value for one of the value column taken recording (the visible record in the report) adjecent to the same column in the current record.    The reason behind this requirement is, the table contains cirtain ID which is populated based on cirtain condition.  And the same ID must be set to adjecent different records.  Since this is event based on human evaluation of the data, I can not run the UPDATE command in the background.

    To simplify the requirement, suppose, report IR on the employee.  Based on the user, click one of the dummy 'comlumn link', the value COMMISSION_PERCENT must be copied to the next record.  If I know EMPLOYEE_ID value of the next record, then update SQL will do the job.  But how?

    Thank you

    -Anand

    Hi Anand,

    Please check the sample application you gave, I created the same according to your requirement.

    Here are the steps that I did.

    1. edition your column that you use as a button.

    A class has been added to this button under link attributes

    class="uButton cpycomm" role="button"
    

    URL: javascript:void (0);

    2. edited Page attributes

    Under run when the Page loads

     $("a.cpycomm").click(function(){
        var $el = $(this);
        var nextemp = $el.closest("tr").next().find('td[headers="C725254625175515007"]').text();
        var comm = $el.closest("tr").find('td[headers="C725255480705515009"]').text();
        $("#P1_EMPNO").val(nextemp);
        $("#P1_COMM").val(comm);
    
        if (confirm('Copy Commission to next record ?')) {
           apex.submit('SAVE');
        }
      });
    

    3. a process page to update the commision has created.

    Kind regards

    Jitendra

Maybe you are looking for