Adobe Experience League
Community
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Sign In
Search
Sign In
Adobe Experience Manager
Adobe Campaign Classic
Adobe Campaign Standard
Adobe Experience Platform
Adobe Analytics
Adobe Audience Manager
Adobe Target
Adobe Experience Cloud
Adobe I/O Cloud Extensibility
Adobe Advertising Cloud
Marketo
Magento
Adobe Creative Cloud
Adobe Document Cloud
Workfront, an Adobe company
Community
Adobe Experience Manager
Adobe LiveCycle
Discussions
Community
Adobe Experience Manager
Adobe LiveCycle
Discussions
add instance when initial count=0
neptas
neptas
neptas
22-10-2008
Mark as New
Follow
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report
Hello,
Can someone tellme how to dynamically add an instance of a section, when that section as at design time a initial count of zero?
just doing: objectsection.instanceManager.addInstance (1);
doesn´t work.
Thank you
Replies
pguerett
pguerett
pguerett
22-10-2008
Mark as New
Follow
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report
If the object does not exist yet then the addInstance method will not work (as you have found out). There is a syntax that allows for this buy using:
_objectsection.addInstance(1)
The underscore (_) indicates that you want to communicate with the instanceManager.