Help creating a custom action

I have a series of steps that I need to do for a large amount of PDFs. I figure the most efficient way to do this is to make a custom action so that I can just do it all in 1-2 presses of a button. However, Im having trouble figuring out how to do certain steps.
1. OCR the document - done
2. Add a drag and droppable signiture to the document  - Seems this cant be done via actions
3. Flatten the document - done
4. Send this document as an email to an address listed on the document and BCC a to a constant email.
It seems like step 2 cant be done using actions, which sucks but no choice I guess, so that can be done manually. Step 4 though seems to be givng me some trouble and I think it should be doable. Ideally what I would like is for the user to select a string on the document, and that selected string would be copied to the to field of an email, concated with a domain name, and then a BCC field would be added. Because of this, I figure I would need to make 2 seperate actions. One for steps 1 and 2, then have the user select the email, then one for steps 3 and 4. But Im not sure how to get the email stuff working. Do anyone know how?

You can use the JavaScript method this.mailDoc() to attach a copy of the currently-active PDF to your mail client. Getting the email address depends on where it is - form field contents are easy to extract with JavaScript but text on the page itself is next-to-impossible.
See the SDK for details on how mailDoc() works - http://bit.ly/AXISDKH

Similar Messages

  • Need help creating a custom formula in a form

    I'm trying to create a custom formula for for our Order entry. I want to be able to put in the quantity, list price, and discount percent and have it calculate what the extended price will be? The formula I came up with was (ListPrice * Discount1/100)* Quantity1 but that didn't work.
    Here is what the spreadsheet looks like
    [IMG]http://i.imgur.com/JTV5QUW.png[/IMG]
    Does that make sense?

    Only if your discount percent field is formatted as "Number" and not as a 'Percentage".
    Images do not provide enough detail about the form, scripts, fields, field formats, etc to be much help.
    Are you getting any error messages in the JavaScript console?
    Change the format for the result field to "None" and observe the result.
    Your code is definitely not JavaScript that would work in an Acrobat form field.
    Are you using LiveCycle Designer to make your form?
    Are you using the "Simplified Field Notation" option?

  • Help - Creating a Custom Layout

    Hy, I'm creating a Grphical Programming Language,
    where user draw flowcharts by linking buttons.
    My problem is:
    After adding some buttons on the panel,
    the scrollBars does not appear.
    (I have set layout to be NULL so that I can add the buttons
    at specific position on the pane).
    I think I need to create a custom layout, but with a layout,
    after adding buttons on the panel and position them to specific
    location, when I maximize/restore the window, the buttons return
    to their initial position.
    Can anyone please send me the code for creating a custom layout (imagine
    that you are drawing a flowchart by adding buttons).
    NOTE: The buttons should stay at their position while maximizing/restoring
    the window.
    thanks in advance

    Hi,
    I'm currently working in a project that for what I understood is quite similar to yours...
    The way I solved the problem, was creating a virtual-grid. When the user adds the button, I have to methods (getRow() and getColumn())
    that convert the mouse coordinates to row and grid numbers. Then knowing the row and the column, I multiply this values for the row
    width and column height, and have the X and Y position where to add the button in the JPanel.
    Here is some of the code:
    public int getColumn(int x)//mouse coordinate x
            column=(int)(x/COL_WIDTH+1);
            if(maxColumn<column)
                maxColumn=column;
            return column;
        public int getRow(int y)//mouse coordinate y
            row=(int)(y/COL_HEIGHT+1);
            if(maxRow<row)
                maxRow=row;
            return row;
        }And then I add the component,
    jPanelContainer.add(component,
                        new org.netbeans.lib.awtextra.AbsoluteConstraints((col-1)*COL_WIDTH, (row-1)*COL_HEIGHT, -1, -1));This is only an ideia. Since I have a lot of constraints with the blocks that I have to add, I first add the components to an array[][],
    treat all the things in this array (like user deleted component, moves rows and columns, user added component, user moved component, etc...)
    and then "send it to the sreen"...
    Maybe I was a little bit confusing...
    Hope it helps!
    Regards,
    ANeto

  • How do I create a custom action to split a PDF into multiple pages in Acrobat DC?

    I can create a new action to "organize pages" but I don't see any way of specifying split options. (Split being a member of the Organize Pages subgroup in the main tools section...)

    Use JavaScript from the Acrobat SDK Sample script below.  Note you will need to change the cPath to a location on your hard drive (e.g. /c/Action Folder/  equals the path on your hard drive "C:\Action Folder").
    /* Extract pages to folder */
    // Regular expression used to acquire the base name of file
    var re = /\.pdf$/i;
    // filename is the base name of the file Acrobat is working on
    var filename = this.documentFileName.replace(re,"");
    try {for (var i = 0; i < this.numPages; i++)
              this.extractPages({
                   nStart: i,
                   cPath: "/F/temp/"+filename+"_" + i +".pdf"
    } catch (e) { console.println("Aborted: " + e) }

  • Need help creating a folder action for creating folders based on filenames.

    I want to create a folder action that will monitor a folder and every time a file is added to the folder it will create a directory using the filename (minus the extension) and move the file the that directory

    on run {input, parameters} -- create folders from file names and move
      set output to {} -- this will be a list of the moved files
      repeat with anItem in the input -- step through each item in the input
        set {theContainer, theName, theExtension} to (getTheNames from anItem)
        try
          set destination to (makeNewFolder for theName at theContainer)
          tell application "Finder"
            move anItem to destination
            set the end of the output to the result as alias -- success
          end tell
        on error errorMessage -- duplicate name, permissions, etc
          log errorMessage
          # handle errors if desired - just skip for now
        end try
      end repeat
      return the output -- pass on the results to following actions
    end run
    to getTheNames from someItem -- get a container, name, and extension from a file item
      tell application "System Events" to tell disk item (someItem as text)
        set theContainer to the path of the container
        set {theName, theExtension} to {name, name extension}
      end tell
      if theExtension is not "" then
        set theName to text 1 thru -((count theExtension) + 2) of theName -- just the name part
        set theExtension to "." & theExtension
      end if
      return {theContainer, theName, theExtension}
    end getTheNames
    to makeNewFolder for theChild at theParent -- make a new child folder at the parent location if it doesn't already exist
      set theParent to theParent as text
      if theParent begins with "/" then set theParent to theParent as POSIX file as text
      try
        return (theParent & theChild) as alias
      on error errorMessage -- no folder
        log errorMessage
        tell application "Finder" to make new folder at theParent with properties {name:theChild}
        return the result as alias
      end try
    end makeNewFolder
    This script almost does what I need except for the fact that it screws up on files with periods in them
    for example
    1.2.3.4.txt
    will create the directorys 1, 2, 3, and 4 instead of 1.2.3.4

  • Help creating buttons with actions

    I am looking for a way to program buttons with actions and conditional outputs. As an example: After populating a set number of cells, I would like to be able to program a button to copy the contents of those cellsto another set of cells. Also, a button programmed to clear the contents of the cellswould be nice.
    anyone?

    Buttons are typically associated to macros (VBA or other). As Numbers 1.0 does not support any macros, I am afraid that you are out of look.
    To copy values is very simple with formulas of course (=a1 and so on), but you probably know that, and need something more powerful.

  • [solved] Help making thunar Custom action

    I would like to have a thunar cutom action that I can scan a file/directory with clamav
    and have the output run through zenity, progress and results. I have no idea what I am
    doing with zenity. I just know I already have it installed
    Last edited by orphius1970 (2010-05-20 09:23:09)

    Thank you VCoolio!!
    That was exactly what I needed! This is what I ended up with:
    clamscan -r -i %F%D | zenity --text-info --width=425 --height=425 --title="Scanning..."
    Will mark solved

  • Help creating a custom tag from a scriplet

    I am trying to make a cusom tag to replace this peice of code:
    <TABLE >
    <% 
    out.println("<TABLE >\n" +
                    "<TR BGCOLOR=\"#FFDDAA\">\n" +
                    "  <TH>ID Number\n" +
                    "  <TH>Artist\n"
    Iterator it = pricePassed.getpricePassed().iterator();
    while( it.hasNext() ){
       MySite.VideoBean vids = (MySite.VideoBean) it.next();
       out.println( "<TR>\n" +
                   "<TD><Center><B>" + vids.getRecId() + "</TD>" +
                    "<TD><Center><B>" + vids.getArtist() + "</TD>"
    </TD></TR>\n" );
    %></TABLE>The following is no where near perfect i just want to post it so i can get opinions to see if i am going about it the right way:
    import java.io.*;
    import java.util.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TableTag extends BodyTagSupport {
    private List passedIn;
    public void setItems(List workon) {
      passedIn = workon;
    public int doAfterBody() throws JspException {
      BodyContent body = getBodyContent();
      String body1 = body.getString();
       body.clearBody();
      List list = body1.length() >0 ? text2List(body1) : passedIn;
      if (list == null) return SKIP_BODY;
      try {
        JspWriter out = body.getEnclosingWriter();
        out.println("<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
                    "<TR BGCOLOR=\"#AADDFF\">\n" +
                    "  <TH>Artist\n" +     
    Iterator it = passedIn.setItems().iterator();
    while( it.hasNext() ){
       MySite.videoBean vids = (MySite.videoBean) it.next();
       out.println( "<TR BGCOLOR=\"#FFAD00\">\n" +
                    "<TD><Center><B>" + vids.getArtist() + "</TD>"
    </TD></TR>\n" );
      } catch (IOException ex) {
        throw new JspTagException(ex.getMessage());
      } // try
      return SKIP_BODY;
    }

    If you go to the page where it lists all the forums and scroll way, way, down you will find there's a JSP forum. That is really where you should post this kind of question.

  • 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]

  • Button to execute custom action(s)

    I have created 3 custom actions which print, e-mail, and fax Opportunities when executed.   These actions work perfect from the SAP GUI, but I am unable to execute them from PCUI CRM as there is no button which is linked to these actions.   Please note that there is a button which prints the opprotunity, and a button which sends an e-mail, but these buttons do not execute the custom Actions which I have created!
    I would like to add a button (custom or standard) to PCUI CRM which would execute my custom Actions.
    I understand how to add buttons to PCUI CRM, but I do not know how to link that button to my custom actions.   Is this even necessary?   I see an "Actions" button, but am not sure if this will automatically link to the custom actions.
    Thanks in advance for any and all responses to my post.

    Thanks for your your help but it was the same thing Timo said before and it didn´t work for me. But I found out what was wrong :) and you were both right.
    I used a template that had a form and when I inserted a form on the page this form was inside the form in the template and that did so that it didn´t work.
    Atlantic Viking

  • 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

  • Custom Action not Binding to custom content type

    I'm trying to create a custom action to replace the save button in the ribbon for publishing pages that have a specific content type. For some reason it isn't showing up on the publishing pages with the specified content type. Here is the xml:
    <CustomAction Id="30c31720-e337-451c-a7ac-a68d09f64a37.RibbonCustomAction2"
                    RegistrationType="ContentType"
          RegistrationId="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D0095AC9C03A12F40F9A023F6278B841536"
                    Location="CommandUI.Ribbon"
                    Sequence="1006"
                    Title="Invoke &apos;RibbonCustomAction1&apos; action">
        <CommandUIExtension>
          <!-- 
          Update the UI definitions below with the controls and the command actions
          that you want to enable for the custom action.
          -->
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.WikiPageTab.EditAndCheckout.Controls._children">
              <Button Id="Ribbon.ListItem.Actions.RibbonCustomAction1Button"
                      Alt="Save"
                      Sequence="1"
                      Command="Invoke_RibbonCustomAction1ButtonRequest"
                      LabelText="Save"
                      TemplateAlias="o1"
                      Image32by32="_layouts/15/1033/images/formatmap32x32.png?rev=38"
                      Image32by32Top="-171"
                      Image32by32Left="-409"
                      Image16by16="_layouts/15/1033/images/formatmap16x16.png?rev=38" />
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="Invoke_RibbonCustomAction1ButtonRequest"
                              CommandAction="~remoteAppUrl/CustomActionTarget.aspx?{StandardTokens}&amp;SPListItemId={SelectedItemId}&amp;SPListId={SelectedListId}"/>
          </CommandUIHandlers>
        </CommandUIExtension >
      </CustomAction>
    However, if I remove the RegistrationType and RegistrationID the custom action does show up but it is on all pages. any ideas?

    Hi David,
    According to your description, my understanding is that you want to add the custom action which bind to the content type to the Ribbon.WikiPage.Tab location.
    I reproduced the issue with the code below, if I add the RegistrationType="ContentType" and  RegistrationId="0x01"
    to the custom action element, the button disappear in the ribbon, if I removed the button will again appear.
    Here is my test code without binding content type snippet:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="Ribbon.WikiPageTab.CustomGroup"
    Location="CommandUI.Ribbon">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.WikiPageTab.Groups._children">
    <Group
    Id="Ribbon.WikiPageTab.CustomGroup"
    Sequence="55"
    Description="Custom Group"
    Title="Custom"
    Command="EnableCustomGroup"
    Template="Ribbon.Templates.Flexible2">
    <Controls Id="Ribbon.WikiPageTab.CustomGroup.Controls">
    <Button
    Id="Ribbon.WikiPageTab.CustomGroup.CustomGroupHello"
    Command="CustomGroupHelloWorld"
    Image16by16="Insert an image URL here."
    Image32by32="Insert an image URL here."
    LabelText="Hello, World"
    TemplateAlias="o2"
    Sequence="15" />
    <Button
    Id="Ribbon.WikiPageTab.CustomGroup.CustomGroupGoodbye"
    Command="CustomGroupGoodbyeWorld"
    Image16by16="Insert an image URL here."
    Image32by32="Insert an image URL here."
    LabelText="Good-bye, World"
    TemplateAlias="o2"
    Sequence="18" />
    </Controls>
    </Group>
    </CommandUIDefinition>
    <CommandUIDefinition
    Location="Ribbon.WikiPageTab.Scaling._children">
    <MaxSize
    Id="Ribbon.WikiPageTab.Scaling.CustomGroup.MaxSize"
    Sequence="15"
    GroupId="Ribbon.WikiPageTab.CustomGroup"
    Size="LargeLarge" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    Command="EnableCustomGroup"
    CommandAction="javascript:return true;" />
    <CommandUIHandler
    Command="CustomGroupHelloWorld"
    CommandAction="javascript:alert('Hello, world!');" />
    <CommandUIHandler
    Command="CustomGroupGoodbyeWorld"
    CommandAction="javascript:alert('Good-bye, world!');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    In this case, I suggest you can add the custom action directly to the ribbon without binding to the content type and it will work as expected.
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].

  • 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

  • How to call a custom action class present in one DC from a different DC

    Hi Experts,
    I have to implement one email functionality in my project.This functionality works fine if I use the Standard EmailAction class present in com.sap.isa.cic.customer package,but we need to change the email IDs in some cases so,we need to create a custom class.But if I create a custom Action class in Another DC(shext) and try to call this class from the config file present in the other DC(From where the Standard class was called),I am getting no Action Instance found for the declared Action(This Happens when the class is not present ).
    From the error I interpreted that the presence of the Custom Action class is not recognised by the The DC.
    Please confirm If my understanding is correct.
    I also tried adding a a new public part in shrext and tried adding the same in the used dc for the DC from where I am trying to call the class.But the activity fails and it gives me the error that the DCs are Broken.Do I need to build the DCs after adding a public part or a used DC?
    Please answer If anybody has faced the same issue or has a solution to it.
    Thanks
    Arpita Saxena
    Edited by: ArpitaSaxena on Jun 23, 2011 6:51 AM
    Edited by: ArpitaSaxena on Jun 23, 2011 7:01 AM

    Hi All,
    I was able to resolve this issue myself.
    I had to include the DC crm/isa/lwc and the DC mail in the used DCs of SHREXT .
    So,all the jars got included automatically and I was able to create a new custom class for the required functionality.
    Its working fine now.

  • Ribbon Custom Action - Timesheet Project Online 2013

    I'm trying to create a Custom Action for the timesheet form in Project Online 2013.
    In Visual Studio, when I try to add the Custom Action, I'm providing the following info:
    Where do you want to expose the custom action? Host Web
    Where is the custom action scoped to? None
    Where is the control located? I cannot find anywhere the location for the Timesheet ribbon. Could someone provide a link to the documentation containing the list of all ribbons for Project Online 2013?
    Thank you

    I'm trying to create a Custom Action for the timesheet form in Project Online 2013.
    In Visual Studio, when I try to add the Custom Action, I'm providing the following info:
    Where do you want to expose the custom action? Host Web
    Where is the custom action scoped to? None
    Where is the control located? I cannot find anywhere the location for the Timesheet ribbon. Could someone provide a link to the documentation containing the list of all ribbons for Project Online 2013?
    Thank you

Maybe you are looking for

  • Calling BPEL Process From ESB

    Hi Gurus, I'm experiencing an issue calling a BPEL process using the ESB SOAP Service. Basically, the ESB calls the BPEL process and manages to pass the message to the asychronous BPEL process however the first step in the BPEL process after the Reci

  • Help with using a web page from disk after saved from web

    Hi, I almost forgot the little I learned about web page development, so, I'm a total noob when it comes to this and I need your help. I saved as a complete web page on my hard disk this web page but when I open it in Firefox or IE, it doesn't display

  • T510 not connecting to apple 30' display through mini dock

    I am having some difficulties connecting my T510 (NVS 3100m) though my thinkpad mini dock plus series 3 (4338). I am using dvi cable. So far, the only resolution i am capable of is 1280x800.... instead of 2560x1600. Any suggestions? If possible, i wo

  • CLAD sample exam - windows dialog button mimic

    Hello, While preparing for the CLAD exam, I don't seem to agree with the given answer: What mechanical action of a Boolean would you use to mimic a button on a Windows dialog? The given answer is "Switch When Released". Maybe it depends on which butt

  • Azure instance number changes gives wrong status to the java tomcat app

    The documentation of microsoft says ( http://azure.microsoft.com/blog/2011/01/04/responding-to-role-topology-changes/ ) you receive a changing and a changed event when the instance number is changed. In real live i see a changing, a changed and a sto