AEM - adding a container and varying number of children - aem

I have created a component, the new request is to add 3 or 4 of those components within a container. I understand I can just add a column control component and add the children as needed but the request is to go beyond that and add the children as the column control is updated. For example if you change the number of children to 3 the container will automatically add 3 of the original components that were created and so forth.
I have started working extending the Column Control - Sightly component and how I would like to add the children without having to manually add those.

The standard approach for inserting a varying number of components, is to include the Paragraph System Component (parsys), and then let the author insert the components he or she needs (can be limited to allow only specific components).
http://wem.help.adobe.com/enterprise/en_US/10-0/wem/wcm/default_components.html#Paragraph%20System%20%28parsys%29
Or is there a specific requirement that you need to be able to specify the number of components beforehand?

Related

Is there any way to add a single component to multiple component groups in AEM [Adobe Experience Manager]

I need to add a single component to multiple component groups in AEM.
I am pretty sure that a component can only belong to one component group.
If you would like to have your component visible in different places (but not the complete group), you basically have two options:
Add the component (not the group) to the allowed components list in your design ( configuration.
Create a new group, change your component's group to the newly created one and add the new group in the design / configs you need.
HTH

How to bring dropdown at top

I'm not getting this dropdown in front as i have created a custom control combo of tree behaviour.
By reference to this doc: Add a custom field to a work item type (Inheritance process), we can add a custom field to support tracking data requirements you have that aren’t met with the existing set of fields.
Currently, the field Area Path and Iteration Path are existed datatype as Tree path, but their value are defined in Project configuration page and Team configuration page by reference to this doc: Define area paths and assign to a team and Define iteration paths and configure team iterations.
However, tree type is not available in new field, as below.
In addition, this is indeed a good suggestion. You can create a suggestion ticket here. The product group will review these tickets regularly, and consider take it as roadmap.

odoo 12 show different forms based on state values

How to show different forms on odoo 12 based on state value. I want a switch between the states to alter the form as well while keeping the same tree view of course
you can't have two different form view based on the state from a single tree view. But you can control fields/groups/pages or other elements visibility based on state using the invisible attribute.
One could create a single form create different groups in the form or even further add different notebooks and pages whose visibility can be controlled using attributes and passing in a state change in a domain.

How to make Syncfushion ej-grid editable

I am trying to use Grid that is specified in the following
https://www.syncfusion.com/products/essential-js2
I can see there are attributes like [allowSorting],[allowFiltering],[allowGrouping] to achieve sorting,filtering, grouping etc. But how can I make the grid editable?
Following are the functionalities that I am looking for - edit existing row, add new row, delete new row.
Currently Essential JS 2 Grid component doesn’t have Editing feature. This is considered as a feature request and working on this with high priority. This feature will be available in our upcoming releases.

Adobe CQ: authoring content once to display in multiple components

Is there any way to create components in CQ with content pre-added, so that authors can easily pull in a component that has the exact same content on each page where it appears?
Yes , it can be done by adding a cq:template[nt:unstructured] node under your component. If all the data is stored on the component node itself , add the default values as properties to cq:template node with name same as the ones in your dialog. In case the data is stored in a child node add a similar node under cq:template node.
Source : http://blogs.adobe.com/experiencedelivers/experience-management/defaults-in-your-component/