Adding subform when no instance exsists

Hey,
I have a dynamic form which has a repeatable subform with no min. requirment. As a result when I try to use instanceManager to add an instance it does not work becuase there is no president instance. It does not recognize the object because there are 0 instances to refrence. Is there a way to add the first instance.
Thanks,
Nathan

The instance manager object exists regardless of whether there are any subforms instantiated. You can reference the instance manager by prepending a '_' character to the subform name e.g. for a subform named "MySubform" the following should work
var theInstanceMgr = resolveNode("_MySubform");
theInstanceMgr.addInstance();
The form also needs to be saved as a dynamic pdf rather than a static pdf.
jean

Similar Messages

  • Adding subform instance - paging issue

    Hi,
    I have a form which includes a subform where one can press a button to add a subform instance.
    The subform is located in the middle of the page, with a small subform below it. 
    When I presss the add button to add the subform, the subform below the added subform goes to a new page.  I don't know why its doing this as there is plenty of room below the lower subform before the end of the page.
    I recently added data fields to the form.  Before I added the data fields, when I would press the add subform button, the subform below would not go to a new page.
    Any ideas?
    Andrew

    Just a thought but does your form content area extend to the bottom of the page or does it end at the same place the bottom subform ends?

  • Overflow of subforms when adding them using addInstance

    Hello,
    I tried to add subforms dynamically using addInstance but they are overflowing. is there any way i can add these forms such that if the newly added subform wont fit the remaining space, it goes to the next page?
    Hari.

    You need to allow page breaks in the pagination tab of the parent subform.

  • We added an dialog abap instance to a system consisting of 3 DI and one CI

    We added an dialog abap instance to a system consisting of 3 DI and one CI.
    When trying to switch instance  from new instance in sm51 to old instance while being logged to an new instance directly  this is possible
    However when trying to switch instance in sm51 to new instance while being logged to an old instance  this is not possible.
    What could be the reason?

    jan,
    My first thought is whether the hostname of the new instance is availble to the old Dialog Instances (via the services file or DNS) ?
    Failing that, can you answer these questions...
    1) if you use SM51 to connect to an old instance from the new instance, can you then use SM51 to connect back to new instance ?
    2) When you access the new system from SM51, how does the logon fail ?
    invalid user / password ?
    Load balancing failure ?
    Connectivity failure ?
    You'll probably find the answer to your problem if you investigate down these three lines.  However, a more arcane cause could be the network topology...
    Are the instances on the same IP subnet ?
    Are the instances on the same domain or subdomain ?
    Check that there's nothing strange going on with the IP subnet mask.
    Good luck

  • HI. I have itunes 10.6.1.7. When I goto movies i am not able to add and when I click on add file to library and select the file and add its not getting added. When i goto Library it says  that movies I add are in library.Which I cant add

    HI. I have itunes 10.6.1.7. When I goto movies i am not able to add and when I click on add file to library and select the file and add its not getting added. When i goto Library it says "feature films and home movies you add to itunes appear in movies in your iTunes library. To play a movie, just double click it". And below are two options for Downloading movies from store and rent movies. Please help.

    I get the exactly the same problem with win 7, i rang apple support who suggested i try another machine/or create another account on my machine???? why should i, stupid ipad 3rd gen is now sitting here un syncable, apple support ....tut tut very poor support, its a shame im out of the 7 day period otherwise this ipad would be going straight back, older versions of itunes worked fine, some one must know a fix for this??

  • Why does ical put a random time in front of added events when I print?

    How can I prevent ical from putting a random time in front of added events when I print?

    In Word go to File, Options, Display and uncheck the box to print document properties.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • [svn:fx-trunk] 12878: When sub-components don' t have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage .

    Revision: 12878
    Revision: 12878
    Author:   [email protected]
    Date:     2009-12-11 19:07:40 -0800 (Fri, 11 Dec 2009)
    Log Message:
    When sub-components don't have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as

    Michael,
    "Michael Caughey" <[email protected]> wrote in message news:413f0af6$1@mail...
    If I'm doing something wrong what is it? Obviously there is something
    different about how I configured my environment a year ago.What happens if you bring down ms02?
    Regards,
    Slava Imeshev

  • What is the BEST way to delete an app on an iPhone 4S so it will NOT be added back when I sync with iTunes?

    What is the BEST way to delete an app on an iPhone 4S so it will NOT be added back when I sync with iTunes?

    To completely remove an app and all of its data, do this: First delete the app on your phone, then in iTunes, under Library, click on Apps, right-click the app you want to delete & select delete, when prompted, move all files to trash, empty your trash. Connect your phone and sync. The app and all of its data will be gone.

  • How to create reference, when an instance is created through  interface

    Hi All,
    How to create reference, when an instance is created through  interface.
    Regards,
    Lisa

    hi
    good
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5f54f411d194a60000e8353423/content.htm
    /people/jocelyn.dart/blog/2006/06/28/getting-started-with-abap-oo-for-workflow-using-the-ifworkflow-interface
    THANKS
    MRUTYUN

  • Camera raw filter keeps adding sharpening when I  open the image

    camera raw filter keeps adding sharpening when I  open the image although there are no presets and all sharpening sliders set to zero- this doesn't happen with the same set up on my imac- Ps cc 2014 osx 10.9.5- can anyone help me turn this off, I've reloaded  and update the Ps cc 2014

    Thanks for the reply - the problem isn't with ACR itself but the new Camera Raw filter available in photoshop CC 2014 in the filters selection, this doesn't seem to include the workflow options that you get at the bottom of the normal ACR window-  it's a really handy filter for quick final adjustments but on my Macbook keeps adding sharpening even when the sliders are at zero. Is there a workflow option menu for this filter ? Something strange going on somewhere- thanks again for the reply , Tom

  • Refresh DSV - why does it keep indicating it "Added" things, when its already been done? (repost from DW forum)

    Note to moderator(s):
    Please remove the other post
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d4e30da8-5234-4373-963f-c165b99f8df2/bids-2008-refresh-dsv-why-does-it-keep-indicating-it-added-things-when-its-already-been-done?forum=sqldatawarehousing
    There were a number of changes done and earlier I had used the "refresh" button in the DSV view, and the updates were reflected in the DSV.  Now, however everything should be updates, yet when I hit refresh, the dialog still comes up and list
    all the changes it did earlier as "Added".  What is going on here?
    Now however, all my tables, dimensions, relations etc are setup with no errors and the cube builds, processes and deploys without any errors, yet if I refresh the DSV, I still get the dialog that displays all the things that it "sees" as "Added".
     This is even after closing down BIDS and re-opening.
    Also, I wonder if this has something to do this this thread, since its concerning the DSV getting "confused"
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/33918238-cbe0-4017-bec9-0fe1bad15909/refresh-dsv-gives-net-error-column-argument-cannot-be-null

    Hi Shiftbit,
    According to your description, you need to know why the dialog still comes up and list all the changes it did earlier as "Added" when there is nothing changed in the data source view, right?
    I have tested it on my local environment. We use the sample project AdventureWorks, we didn't make any modification on the DSV and click the Refresh button, and all the changes were list on Refresh Data Source View dialog. So as per my understanding, this
    is default settings. If we click the button, it will list all the changes from the date when you create this project.
    If you have any concern about this behavior, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback  Your feedback enables Microsoft to make software and services the best that they can be.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Sending IPM attachments to BPM when the instance is being Invoked

    Is it possible to send attched documents in IPM to Oracle business process workspace when the instance is being invoked ? (In 11.1.1.3.0 - PS2). Thanks.

    I don't see any error handing in the Main.VI. Are you performing any error handling that might be able to provide information about communications or update failures?
    Jeff L
    National Instruments

  • High cpu usage by oracle.exe even when oracle instance is down

    hi,
    I made my oracle instance down , but in Windows Task manager , it is showing 88-90% CPU usage.This only goes off when i write net stop oracleservicemisdb from command prompt.
    Help me.
    Thanks
    Deepak Kumar Sahoo

    No, i don't have any other software related to oracle running on our server . We have tomcat and Weblogic server running on same machine. But oracle.exe is showing more than 75% cpu usage even when the instance is down.
    thanks
    Deepak Kumar

  • Problem: Adding subform instances

    Hello,
    I'm trying to add some instances of a subform.
    Therefor I added the Instance Control Button to my form.
    I customized it to my form and tested it.
    But when I click the Button, nothing happened. After 5 times, a message opened, that I have reached the limit of instances. But no instance is visible.
    What could be the problem?
    Alternative: Can I programmatically change the minimum count of repeats of the subform? It's possible that I could calculate, how much lines I need. So that is the second chance.

    I solved my problem.
    The reason that instances that were added did not show is because there were positioned subforms below where I was adding instances and they covered up new instances because they did not move.
    I solved the problem by re-organizing the form.
    1. All objects were put in a positioned sub-form. Some of them were in a subform by themselves.
    2. Each positioned subform was wrapped in a flowed subform with flow direction Western Text. The flow direction probably doesn't matter here because the flowed subform has only one object in it.
    3. The page-level subform was made flowed, direction western text.
    4. The form must be saved as a dynamic form.
    When I added instances, everything moved down correctly.
    You can probably not wrap everything in positioned subforms first, but you have to account for LiveCycle left-justifying everything in flowed subforms by putting blank text boxes to act as spacers to keep fields in place.

  • CloudControl 12c: when adding cluster-database single instances are missing

    Hello ,
    I'e have installed the agent 12c on every single host of our RAC. When adding a database to CloudControl 12c just the RAC-instance gets discovered - but not the single database instances on each host.
    Due to this when clicking targets -> databases I just see the cluster-database - but not every single instance of the database.
    Compared to another RAC database this is totally different behaviour.
    Any help will be appreciated
    Rgds
    JH

    Hello ,
    maybe I should try to explain the issue a little bit clearer...
    We have one RAC database called PROD02. When clicking "targets -> databases" I see the following:
    PROD02 of type Cluster Database
    PROD021 of type Database Instance
    PROD022 of type Database Instance
    That's the way it shoudl be - that's the way I expected it...
    For the newly cofgured RAC database, called PREP02, it looks different when clicking "targets -> databases"
    PREP02 of type Cluster Database
    The single instances don't show up. Of course I see the single instances when clicking on "PREP02" under the item "Instances".
    Now I wonder why these two RAC databases are differently displayed when clicking "targets -> databases". When trying to add the single instances (clicking "Add" under "targets -> databases") and selecting then either "only on the host <hostname>" or "on all hosts in the cluster" no single instances are found or displayed...
    Rgds
    Jan

Maybe you are looking for

  • Issue while creating a search page..

    Hi, I am trying to create a search page. The requirement is: Searching a SponsorDetails by Name. I am having a data control getSponsorByName, which is created from web service proxy. I created a table out of return object from getSponsorByName method

  • Problem with activesync provisioning user from  ldap to red hat

    hello, i am using activesync to provision the user from ldap to red hat linux . i am getting the following error message An error occurred adding user '#########' to resource 'Red Hat Linux'. Script failed waiting for " PASSWORD:" in response "passwd

  • Please help! Artist names not appearing in ipod after syncing!

    Hey there everyone, I really really need some help with this problem that I have now had for 2 months. I have this problem on 3 different ipods so I know it is not a problem with the ipod, it is with itunes. My itunes library is in perfect order and

  • Real time infoobject or writeable infoobject

    Dear Gurus, Is it possible to create Real time infoobject as we create Real time cubes i mean writeable inobject for planning purpose. Regards Amar.

  • Adobe Reader Versions

    I need to use Adober Reader 8 to open tables in Lotus Notes, but also need a newer version to open newer PDF files from other sources.  The PDF files won't open in Internet Explorer if both versions are loaded.