Creating Bookmarks in form using JavaScript on searched string.

Hi all,
I am currently working on SAP Adobe Form to which I need to add bookmarks
dynamically where the Searched string is found and this should be done during
its Assembly. Any help is appreciated.
Edited by: gopbhav on Jul 19, 2010 8:12 PM
Edited by: gopbhav on Jul 19, 2010 8:28 PM

Otto,
We have forms created with bindings as well as document (word document) are being (merged)/populated dynamically.
After it has been compiled I need to do a search for "string" and where the first "string" is matched I need to add a bookmark to that particular page. Bookmarks are used widely in Acrobat and there is a JavaScript to create bookmark available but the code for Adobe LC/ SAP Adobe Form is different. So I need help if someone knows how I go about do this.
gopbhav

Similar Messages

  • I've created a PDF form using Adobe acrobat. I created the forms from a PDF that I made using pages

    I've created a PDF form using Adobe acrobat. I created the forms from a PDF that I made using pages and word on Mac running Mountain lion. How do I allow the user of the form to insert JPEG files when filling out the form and how do I allow the user to add more fields or groups of fields as needed.

    The type of form yo're describing is possible if you create it in LiveCycle Designer. It may also be possible in Acrobat, but there are certain restrictions. The type of form is known as a dynamic XFA form. LiveCycle Designer is not available on the Mac, so you'd have to install the software on a Windows machine and learn how to create this type of form. The LiveCycle Designer forum here is a good resource for getting more help.
    Reader 11 now supports creating new pages using templates with a form that you create in Acrobat (Acroform). This requires some JavaScript programming. It also adds support for using a button to display a page from a PDF, which can be an image or anything else a PDF can be. So the user would click a button, be prompted to import a page from an existing PDF, and the button (or a different button) displays it as its icon. This would require the user to convert the image to PDF first, which is relatively easy these days (e.g., using Preview on the Mac, or Word on Mac/Windows). This too involves a bit of JavaScript programming, but it's very simple and straightforward.

  • Query for create manual tabular form using apex collection add row button functionality

    Hello everyone
    My requirement is i created a tabular form manually using apex collection but if i click on add row button then previously selected data refreshed and added new row in this form it is fine.but i don't want to refreshed previously selected data and click on add row button then add new row .how it is possible? plz help
    Thanks & Regards,
    Ujwala

    Ujwala
    Instead of starting a new thread with the same question as Query for create manual tabular form using apex collection add row button functionality.
    Could you answer the question about what you see while debug the javascript code.
    If you don't understand the question or have trouble debug javascript let us know.
    Nicolette

  • Why can't I create Fillable PDF Forms using Adobe Acrobat X Pro and upload to Dreamweaver?

    I can create fillable PDF Forms using Adobe Acrobat X Pro. I can email them to someone using Adobe Reader (free) and they can fill them, save and email to me. But when I upload the form to Dreamweaver CS5, the form is not fillable. And yes, I saved it as a Reader Extended PDF-Enable Additional Features.

    I see no reason for this form to fail in Reader. Some questions for you.
    1. On the system with Adobe Reader, what is the system and the version of Adobe Reader?
    2. Are you viewing the PDF in a browser on the system with Reader, or in an Adobe Reader window?
    3. If it's a browser
    (a) what is the browser
    (b) if you download the file instead, and open directly in Reader, what happens?

  • How to seperate current page fields in a pdf form using javascript

    Hi,
    Is that possible to seperate current page fields(textbox, Chesckbox) in a pdf form using javascript.
    I have coding to get all the fields in a pdf form. But i want to take CURRENT PAGE alone.
    Please help me out.
    Thanks and regards,
    Christy

    Hi try67,
    Thanks for your support.
    I got the result.
    Thanks and Regards,
    Christy

  • How to create a MD form using dynamic page ?

    Rahul and Sharmila,
    You have answered several of my queries earlier and I am thankful for them.
    I have been trying to creating a MD form using dynamic page and I haven't fiqured it out. I need help. You both advised me on creating a simple form using dynamic page. The complexity changes drastically when I have to create a MD form. Has no body ever tried to create a MD form with dynamic page?
    I haven't heard from you anything either. I am stuck with this and I need help urgently. Would you kindly tell me if this is possible and how ? Otherwise, I will stop crying for help on this.
    Thanks for your kind attention.
    Mainak

    Hi,
    I have replied to this in the morning.
    Re: Oracle portal and JSR 168 compliance
    Hope it helps.
    Thanks,
    Sharmila

  • Set "peoples or groups" field with current user "login name" in sharepoint list form using javascript

    hi friends
    i am trying to set peoples or groups field in sharepoint  list form with current user login name
    here my code
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    $(document).ready(function NewItemView () {
    var currentUser;
        if (SP.ClientContext != null) {
          SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
        else {
          SP.SOD.executeFunc('sp.js', null, getCurrentUser);
        function getCurrentUser() {
          var context = new SP.ClientContext.get_current();
          var web = context.get_web();
          currentUser = web.get_currentUser();
          context.load(currentUser);
          context.executeQueryAsync(onSuccessMethod, onRequestFail);
        function onSuccessMethod(sender, args) {
          var account = currentUser.get_loginName();
          var accountEmail = currentUser.get_email();
          var currentUserAccount = account.substring(account.indexOf("|") + 1);
        SetAndResolvePeoplePicker("requester",account);
    // This function runs if the executeQueryAsync call fails.
        function onRequestFail(sender, args) {
          alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     function SetAndResolvePeoplePicker(fieldName, userAccountName) {
       var controlName = fieldName;
        var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
        var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
        var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
        peoplePickerEditor.val(userAccountName);
        spPeoplePicker.AddUnresolvedUserFromEditor(true);
    </script>
    but it is not working
    please help me

    Hi,
    According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
    To set "peoples or groups" field with current user "login name”,  you can use the below code:
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    function SetPickerValue(pickerid, key, dispval) {
    var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
    xml = xml + PreparePickerEntityXml(key, dispval);
    xml = xml + '</Entities>';
    EntityEditorCallback(xml, pickerid, true);
    function PreparePickerEntityXml(key, dispval) {
    return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
    function GetCurrentUserAndInsertIntoUserField() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    this._currentUser = web.get_currentUser();
    context.load(this._currentUser);
    context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
    Function.createDelegate(this, this.onFailure));
    function onSuccess(sender, args) {
    SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
    this._currentUser.get_title());
    function onFaiure(sender, args) {
    alert(args.get_message() + ' ' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
    </script>
    More information:
    http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to Create an Input Form using a Transient View Object?

    I would like to use a Transient View Object to store data from input forms across a multiple-page enrollment process.
    My question is how to I create the input form using the Transient View Object on the .jspx page? Do I drag/drop an ADF creation form onto the page? Or, use a regular ADF form? Do I need to create the initial row progammatically?
    Just looking for some general directions or set of instructions? I've looked at the SRDemo example (Globals Transient View Object), but I'm not sure how they created the page at design time?
    thanks

    Well following the SRDemo example, this seems to work:
    1. Create Transient View Object
    2. Add to Application Module as a Data control
    3. Add to .jspx page as an ADF Form (not as an ADF Create Form)
    4. Add following code to Application Module containting Transient VO instance:
    protected void prepareSession(Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getViewObj1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    }

  • How do I automatically create bookmarks in adobe using the Scanjet pro 3000 s2?

    How do I automatically create bookmarks in adobe using the Scanjet pro 3000 s2?

    Does the file you are writing have a timestamp in it?  If so you could read the timestamp from the last time it was written and see if the day has changed, handling the name of the file appropriately.  The easiest way to record the timestamp is probably to write the timestamp as the number of seconds that have elapsed since 12:00 am on Firday January 1st 1904 in UT.  The "Get Date/Time in Seconds" function will give you this value.
    Message Edited by jmcbee on 03-05-2009 12:56 PM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • Email form using JavaScript

    I would like to perform certain validations when user clicks the email button. However, I am unable to enter any JavaScript in the click event. This event is disabled.
    Is there a way to email a form using JavaScript (not through the Submit tab)? This way I can run the validations in the click event, before emailing the form.
    Any other suggestions are welcome.
    Thanks
    Aditya

    Aditya,
    A common solution is to use two buttons. Add a Email Submit Button object and define the presence as 'invisible'. Let's name the object 'EmailSubmitBtn'. Add a Button object and change the caption to 'Email'. Let's call the object 'EmailBtn'. One the 'EmailBtn' click event perform the required validations and then call the click event on the 'EmailSubmitBtn'. You call the 'EmailSubmitBtn' click event as follows:
    form1.subform1.EmailSubmitBtn.execEvent("click");
    Steve

  • Reset form using javascript

    Hello,
    I am using jdev 11.1.1.6
    I want to know how to reset the form using javascript.
    For instance...<af:resetActionListener/> does it in jsff
    I need similar implementation

    One solution could be calling a backing bean method from client and reset the form in the backing bean method.
    var customEvent = new AdfCustomEvent(evt.getSource(),"resetFormEvent",null, true);
    customEvent.preventUserInput();
    customEvent.queue(true);

  • Is it possible to use JavaScript to search a directory of PDF files?

    A company I am interning for is looking for a solution. They want to allow users to search within their PDF user manuals by typing a string into a search field and returning the PDF document link or page link. Is this possible? How would I accomplish this? I have only been programming for 1 year.
    Can adobe reader use javascript to create a link that we attach the directory to? If not how or what would you do?
    Thank you.

    Ideally, I would like a link to Adobe Reader or Acrobat that only allows users to "Search Our Manuals for Help".  The user types in "Commission Invoice Inquiry" and in return gets links etc. to the PDF's in our directory of files containing that inquiry or "string".
    User scenario:  User gets new software from company but needs to look in manual on how to get "commision invoice inquiry". So user goes onto my company's website and finds this said application I am looking for and types in "commission invoice inquiry" and hits enter. The application then searches through the company's directory of PDF files (manuals) for "commission invoice inquiry" and returns any page links within the PDF that have that "commission invoice inquiry" on them. It can open inside of Adobe Reader or Acrobat or whichever. The company is even willing to pay for said "plugin" or application.

  • Query for create manual tabular form using apex collection using item textfield with autocomplete

    can we create a manual tabular form inside item textfield with autocomplete ?
    how it is possible?
    with Apex_item API used for this item.
    i used this code for creat  cascading select list
    select seq_id,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(
            p_idx                       =>   1,
            p_value                     =>   c001,
            p_query                     =>   'SELECT C001 D
         , C002 R
      FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = ''col1''',
            p_attributes                =>   'style="width:150px" onchange="f__name(this,parseInt(#ROWNUM#));"',
            p_show_null                 =>   'Yes',
            p_null_value                =>   null,
            p_null_text                 =>   '- Select name -',
            p_item_id                   =>   'f01_'|| LPAD (ROWNUM, 4, '0'),
            p_item_label                =>   'Label for f01_#ROWNUM#',
            p_show_extra                =>   'NO') name,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(
            p_idx                       =>   2,
            p_value                     =>   c002,
            p_query              =>   ' SELECT null d, null r FROM dual WHERE 1 = 2
            p_attributes                =>   'style="width:150px"',
            p_show_null                 =>   'Yes',
            p_null_value                =>   null,
            p_null_text                 =>   '- Select name -',
            p_item_id                   =>   'f02_'|| LPAD (ROWNUM, 4, '0'),
            p_item_label                =>   'Label for f02_#ROWNUM#',
            p_show_extra                =>   'NO')name2,
    from apex_collections
    where
    collection_name = 'COLLECTION1'
    It is fine .
    but i want item in tabular form  textfield with autocomplete and remove select list. my requirement is using textfield with autocomplete select a employee name and second item textfield with autocomplete display dependent perticular employee related multiple task.
    how it is created.i have no idea related textfield with autocomplete.Please help me....

    pt_user1
    I understand that the add row button is currently doing a submit.
    To not submit the page you need a dynamic action on the page.
    Does the javascript function addRow do what you want?
    Otherwise have a look at the following two threads Add row in manual tabular form using dynamic action and Accessing Tabular Form & Add Elements to Collection without Page Submit.
    You're process could be something like:
    Add the new values to the collection using the idea's in the second thread and at the same time add the new row.
    And as second action refresh your tabular form.
    If you get stuck set up what you have done on apex.oracle.com using the tables from the demo application.
    Nicolette

  • Acrobat X Form using Javascript problem

    I have a Acrobat Form which I originally created in Acrobat 7 Pro that has a button which executes many lines of javascript.  In the javascript there is a large if then else statement group that sets a variable.
    I have not worked on this form in many years and recently opened the form using Acrobat X Pro and edited all of the javascript code.  The problem is that when I save the document and click on the button it is still executing the previous javascript code for some reason.  I have looked everywhere I can think of to make sure there is no remnant of the old code left and cannot find any.  It seems like there is a cached copy of the old code somewhere that is being used.  I have looked in the properties of the button and in the all javascript area of the forms menu and cannot find any reference to the old code.
    Any Idea why this is happening?
    Nick B

    The Javascript code populates a field on the form and the If Then statement sets this value based on  the amount in another field.  I have changed all of the values in the If Then statement but the button is still using the old values.
    I have tried this on three different computers and it will not pick up the new values. 

  • Multiple recipient livecycle form using javascript in it to attach a pdf, external recipients get MIME formatted email.

    The livecycle designed form has javascript to send the form to 4 recipients.  The form worked fine until the mail domain was hosted by gmail (uses TLS, port 587).  Now recipients get a MIME email, not the attached PDF.  Old versions of the form pre-sept 29 work fine.  If we change the form or copy it, it does not work.  If we use a different smtp server to test, it works fine, all 4 recipients get the pdf.  Any advice is much appreciated!  I'd say gmail is the problem, but then why do old forms work fine still through gmail?
    the setup is Adobe Livecycle Designer ES4, Adobe Acrobat XI, Outlook 2007, gmail hosted company domain (ex. yourdomain.com), using SMTP port 587 TLS, javascript in the email to declare a PDF, and a button to run the javascript (not a submit button, the javascript does the submit action).
    problem looks like this:
    EARLY WORKS - PHASE 5, PILING - Change Order 888 
    Date: Fri, 9 Jan 2015 13:08:55 -0600 
    Message-ID: <002e01d02c3f$b802fdf0$2808f9d0$@ca> 
    MIME-Version: 1.0 
    Content-Type: multipart/mixed; 
                    boundary="----=_NextPart_000_002F_01D02C0D.6D688DF0"
    X-Mailer: Microsoft Office Outlook 12.0 
    Thread-Index: AdAsP5IQYfLzQOmBQKGrI/ckRv3akg==
    Content-Language: en-ca
    This is a multi-part message in MIME format.
    ------=_NextPart_000_002F_01D02C0D.6D688DF0
    Content-Type: text/plain;
         charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    The contract has been adjusted by Change Order attached. Please retain copy
    for your file records. No hardcopy will be issued by mail.
    ------=_NextPart_000_002F_01D02C0D.6D688DF0
    Content-Type: application/pdf;
                     name="2785-5 Change Order TEST-Jeff-888.pdf"
      Content-Transfer-Encoding: base64
      Content-Disposition: attachment;
                      filename="2785-5 Change Order TEST-Jeff-888.pdf"
    JVBERi0xLjcNJeLjz9MNCjI1NiAwIG9iag08PC9MaW5lYXJpemVkIDEvTCAxMDc2MTkyL08gMjYx
      L0UgMTA1MjQ1Ni9OIDEvVCAxMDc1ODI1L0ggWyA3MTQgMzI5XT4   etc... 

    First of all, a drop-down menu doesn't allow for multiple item selection. You'll need a list-box field for that.
    Once you have that set up you can use the value(s) selected in this field as the recipients of the email.

Maybe you are looking for

  • Photoshop CS6 will not open files

    Right after rebooting my computer (Windows 7 Pro) I can open one photo file in CS6 using any normal method of opening a file in Photoshop. After closing that file I cannot open any more files using any method such as>Open Recent, File>Open, or right

  • QuickTime runs .avi-file with black screen

    I've recorded my little daughter with our new digital camera and have loaded it on the computer, but QuickTime run it with black screen and without any sound. clips recorded with my mobile phone are running without any problems.... what can I do?

  • How to deploy OLAP DML scripts or programs?

    Once finishing developing a set of OLAP DML scripts in AWM How can I deployed them to production environment? Is there a command-line equivalence for OLAP worksheet? ( something like sqlplus @file, which execute a set of commands store in file ) Than

  • MRP Exception Message 64

    Requirement Date of my FGs PIR is June 2nd, after executing MRP Run..Requirement date proposed by MRP for the exploded SFG (dependant requirement) is 3rd June with an exception message of 64 "Production finish after order finish"..I am unable to unde

  • Need to create Attachment option in Contract Toolbar

    Hi We have a requirement to create an attachment option ( exactly same as the attachment option in the MA toolbar and Rfx toolbar )  in the  contract page toolbar Can anyone help me with the steps ? Thaks in advance Sudipta