Changing action name of sample custom action block in MII 12.2

Hi all,
I have a problem changing the action name of the custom action block sample. I've changed the content and successfully implemented the action block. But when I changed the action name and uploaded again, the action block cannot display any input parameters and output parameters. In the java console, I can see 3 rows of "Shared Properties Error: No File Defined" error. Can I get a hand on resolving this issue? Thanks.
The From rows are the sample code. To row is what I changed to.
In SimpleActions.java
From:
@Action(name = "AddTwoNumbers", referenceDocumentGenerator = ReferenceDocumentGenSample.class)
To:
@Action(name = "GBarcode", referenceDocumentGenerator = ReferenceDocumentGenSample.class)
From:
public static void addTwoNumbers(
To:
public static void gBarcode(
In catalog.xml
From:
Component Type="Action"
Name="AddTwoNumbers"
To:
Component Type="Action"
Name="GBarcode"
All other code remains the same.
Best regards,
Lawrence

Hi Lawrence
Did you remember to change the action name in the catalog xml as well? In the catalog xml the Name field denotes the name of the action. This needs to also change in case the Action Name is changed in the class.
Please check this and change if not already done.
Regards
Partha

Similar Messages

  • Can I change the name of the customer on my invoice from my sister's name to my name?

    Can I change the name of the customer on my invoice from my sister's name to my name?

    It hardly sounds likely. We're just users here - ask whoever issued the invoice.

  • Change the name of custom tab in me51n / me52n / me53n

    Hi,
    I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
    Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
    Can anyone suggest me how to go about doing this???
    Thanks in advance.
    Abhisek.
    P.S.:- Points will be be duly awarded 4 helpfull answers.

    Hi,
    I tried doing whatever you had suggested but it seems that it is not working.
    Could you suggest some other way to do this?
    Thanks and regards.
    Abhisek.

  • Interactive Report - Add a 'custom' Action Menu Item

    Hi,
    I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
    I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
    I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
    I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
    Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
    Many thanks in advance Peter..
    Edited by: Pete on Jun 30, 2011 4:16 PM
    Edited by: Pete on Jun 30, 2011 4:24 PM
    Edited by: Pete on Jun 30, 2011 4:31 PM

    Hi,
    For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
    Then the extra form will show up in the Ribbon.
    Refer to the following link:
    http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Outlook 2013: "Perform a custom action" in Rules

    As described here:
    http://office.microsoft.com/en-us/outlook-help/create-custom-actions-rules-HA102749447.aspx
    I can use custom action in Outlook 2013 rules.
    Please tell me, why can't I see "Perform a custom action" in rule action list in Outlook 2013 then?

    I've got the same result in Outlook 2013 RTM. The rule action option "Perform a custom action" is missing. Try to install the lasted version of Outlook to check the result.
    Tony Chen
    TechNet Community Support

  • Can we change the name of custom object?

    Is it possible to change the name of any custom object?
    Thanks and Regards,
    Animesh

    Yes you can. Go to Admin --> Application Customization --> Customize Record Types

  • Batch change file names

    How can I batch change all my file names?

    I am having a similar problem in Lr4. I made the mistake of not specifying a custom name at the beginning of a big import and I now have hundreds of photographs called "untitled_date_picture name_sequence.dng" I have created a custom renaming action that I normally use for all imports except this time I forgot to specify the custom text part at the beginning of the file string.
    I cannot see how I can now batch change the "untitled" part only to show correctly. If I try and create a new renaming action by adapting a custom action i.e. by making the following:
    Peru_Date_File Name (or Original File Name)_Sequence, the 'file name' part is replaced by "untitiled_111002_P1000245_12" for example. I am guessing that this is becasue the 'file name' is the entire string and not just the P1000245 part only which is the name created by the camera.
    Any ideas how I can batch change the 'untitled' bit only or do I have to reimport the photos all over again?
    Alternatively, is there a way to do this with the file names in Finder? I'm on a Mac by the way.
    Many thanks
    Chris

  • Change the name of the BP in partner function

    Hi everyone,
    We are using one-time BP's in opportunity creation.
    Users enter the BP number 100000 and change the name of the customer and save the transaction.
    The process works fine in SAP GUI.
    Unfortunately it does not in PCUI.
    Neither in Overview tab, nor in Partners tab, can you change the name of the BP. The field comes read-only.
    I checked the related field groups (OPP_PARTNER and OPP_OVERVIEW_PARTNER_50), but there is no read-only check.
    Any comments?
    Thanks.

    Hi,
    Please check the read-only flag set for the field group field involved here in both the transactions- CRMC_BLUEPRINT(for the standard setting) and CRMC_BLUEPRINT_C(for customer setting). In either of this you may find that the field is set as read-only. If you wish to make it an editable field, remove this setting and re-generate the layout for this field group. Also note that you may be referring to a wrong field group if it's a multi field group, you may need to go further and get all the list of field groups involved in that. I hope it helps.
    Cheers,
    Gyan.

  • Change account action names

    Hi All,
    Is there a way to change the user and account action names that show up in the admin/configurator pages. For example New xxx User instead of new user in the drop down menu.
    Thanks,

    You can do that by changing the property file waveset.properties or WPMessages_en.properties (which ever is applicable) and setting the the desired value for the following property
    UI_USERAPPLETTABLE_NEW_USER=New xxx User
    Or you can create your own custom catalog and put same value in that.
    Regards,
    Suren

  • Migration Custom Action Blocks from 11.5 to 12.0

    Hi,
    I have created some custom Action Blocks in xMII 11.5.Now i want to migrate my code to 12.0.i have taken care of the Folder structure .Do i need to change any thing in customised Action Blocks or directly can i upload to 12.0  while migrating the code?Please any one guide me.

    Gurunadh,
    Yes there is and the guide for this should be released to the SDN shortly.  One thing to keep in mind is the include paths have changed from com.lighthammer... to com.sap and com.lhcommon
    Another thing to keep in mind is that there are additional interfaces you can implement for greater control over your customization.  Before I can help you any further you have to say what specifically you are doing and what error messages you are receiving.
    Sam

  • Custom Action to change selected column's Background color for a table in CEWP

    I have a OOTB CEWP. When I insert a table to this, I would like to see a context menu that would give me an option to change the selected cell's/row's/table's properties like cell padding/cell spacing/background color etc.
    How can this be achieved using SP2013 ribbon's custom actions. It would be great if we could add all these properties on a separate contextual tab when row/cell/table is selected.
    Rajasekar A.C

    Hi,
    If the table in Content Editor Web Part, we don’t need to use SharePoint Ribbon to achieve it.
    We can insert some input button and use jQuery to change the table tr/td background color.
    The code like this:
    <style type="text/css">
    .highlight {
    background-color: red;
    </style>
    <script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("#TableID tr").click(function () {
    $(this).toggleClass("highlight");
    </script>
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Can I change the name of manual action

    Can I change the name of manual action to the user account's or some definitive name.
    <ManualAction id='1' name='displayCreateUserForm' timeout='30' syncExec='true'>
    I tried name='$(user.accounts[Lighthouse].lastname)', but of no use?
    Any help please?
    G

    This is for requestor's review pending actions list. In our create user workflow, all the pending forms(incomplete create tabbed user form) are referred as manual actions.
    If the requestor stops the create user form without completing it, it gets into his/her review pending action list as
    -displayCreateUserfrom
    -displayCreateUserform
    and does not specify who the user account form that was incomplete.
    <ManualAction name='displayCreateUserForm' timeout='30' syncExec='true'>
    <Owner>
    <ref>WF_CASE_OWNER</ref>
    </Owner>
    <FormRef>
    <ObjectRef type='UserForm' name='OND-UserForm-TabbedCreateUser'/>
    </FormRef>
    </ManualAction>
    HTH
    Gopi

  • Dynamically Change Custom Actions for User Task

    Is there a way to dynamically change the custom actions associated with a user task on the fly? We would like to change the action options available to the user based on the state of the task. Thanks in advance.

    Please post on the Jdeveloper and ADF Forum where you will get more help
    JDeveloper and ADF

  • How to change the name of an action

    I have defined a AbstractAction and I am wanting to change the name of the action. How can I do this. setName(String name) does not work either. This is what I am doing.
    private class BrowseButtonAction extends AbstractAction
          public BrowseButtonAction(  )
             super("Browse");
           * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
          public void actionPerformed( ActionEvent evt )
             JFileChooser fch = new JFileChooser();
             if ( evt.getSource(  ) == btnBrowseLogo ) {
                //don't change name b/c it's already correct
             } else if ( evt.getSource(  ) == btnBrowseDirectory ) {
                 //set name of action to "BrowseDirectory"
             }else if(evt.getSource() == btnLoadFile){
                //set name of action to "Load";
    }I am assigning this action as follows:
    JButton btnBrowseDirectory  = new JButton(new BrowseButtonAction());
    JButton btnLoad = new JButton(new BrowseButtonAction());
    JButton btnBrowseLogo = new JButton(new BrowseButtonAction());

    Make a BrowseButtonAction constructor that takes a String. Then, pass that String to super instead of always passing "Browse".

  • Setting icon for MII version 12.1.x custom action

    Hi,
    i tryed to set icon image for custom action for MII version 12.1.x but i did not achieve.
    How can it be done?
    Thanks.

    Hello,
    I have done it in 11.5. This is how I did it in 11.5. (I am hoping that it has not changed in 12.1)
    //funciton for specifying icon
    public String GetIconPath() {
            return "com/path/to/icons/imagename.png";
    Store your image file in the following way
    com/path/to/icons and name that as imagename.png
    There is also a blog on it
    /people/rupesh.bajaj/blog/2007/12/04/beginners-guide-to-create-custom-action-block
    I hope it helps.
    Regards,
    Musarrat
    Edited by: Musarrat Husain on May 17, 2011 12:18 PM

Maybe you are looking for

  • Performance problem in 7.6.6.10

    We have a performance problem after doing the update from MaxDB 7.6.6.3 to 7.6.6.10.   The symptom is that querys with the "<>" operator in the WHERE-Clause on a indexed Integer/SmallInteger-column slows down extremly, e.g. "WHERE FILEDNAME <> 1". On

  • GP Exception handling doesn't work

    I had implemented the GP Exception handling scenario described in [Configuring Exception Handling|http://help.sap.com/saphelp_nw2004s/helpdata/en/44/10bd4029450d1be10000000a114a6b/frameset.htm]. But when I start the process and input a wrong user id,

  • Error Message OXc 19a0035

    This error message keeps coming up.  I have done all the suggested "fixes" from turning off and on to unplugging the power cord from printer and wall socket.  Nothing seems to be fixing this problem.   I have always used HP inks and keep the inks ref

  • MacMini HDMI/vga adapter not detecting resolution

    hi all, i have a mac mini (10.9.2) and on the back i have plugged up a hdmi/vga adapter and i have plugged in the vga cable to a dell 24" monitor (1920X1200@60Mhz) for some reason it cannot detect the display resolution, it onlys shows the max as 160

  • GR for overdelivery tolerance PO

    Hi, I have issue with a user(Only one user having this issue),who is able to receive the goods for Fully delivered PO.User can receive up to overdelivery tolerance given in the PO.How to restrict this. Expecting some valuable inputs. With regards Ram