- Core Components
/apps/core/wcm/components
- Latest Release: https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components
- JSP foundation components (most deprecated)
foundation/components
- HTL Foundation components (most deprecated)
wcm/foundation/components
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Access using adobeDataLayer.getState("event.eventInfo.path") | |
{ | |
"event": <event-name>, | |
"eventInfo": { | |
path: '<component-path>' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"event.message.eventInfo.component": { | |
"product-7fc286dec9": { | |
"xdm:currencyCode": "USD", | |
"xdm:categories": [ | |
{ | |
"repo:id": "category-086c143818", | |
"xdm:name": "Tops", | |
"xdm:asset": { | |
"@type": "image", | |
"repo:path": "https://jnz3dtiuj77ca.dummycachetest.com/media/catalog/category/outside.jpg", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var property= 'xdm:currencyCode'; | |
var getCoreCmpJSON = _satellite.getVar("getCoreCmpJSON"); | |
var coreCmpJSON = getCoreCmpJSON(event); | |
return coreCmpJSON.component[property]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This method can get core components from the ACDL via eventInfo.path or by first occurance | |
* Example 1. With an event that contains event.message.eventInfo.path value (core cmp event) | |
* var cmpProperty = getCmpProperty(event); | |
* Example 2. It can be used to get the page component properties even if the event was not triggered by the event | |
* var pageCmpProperty = getCmpProperty(event, "page"); | |
* Example 3. It can be used to get the first cmp instance of a specified component on the page | |
* var productCmpProperty = getCmpProperty(event, "component", "product"); | |
* returns an JSON object that contains the | |
* this.path - the unique component path in the ACDL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
aemfed -t http://admin:admin@localhost:4522 -w ui.apps/src/main/content/jcr_root/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dir="internal" | |
for file in `find $dir -type f` | |
do | |
filename=`basename $file`; | |
echo $file | |
curl -u admin:admin -F package=@$file http://localhost:4502/crx/packmgr/service/.json/?cmd=upload | |
done | |
dir="external" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#To find the We.Retail Specific changes, search for "We.Retail Alert" | |
# Each farm configures a set of load balanced renders (i.e. remote servers) | |
/farms | |
{ | |
# First farm entry | |
/website | |
{ | |
# Request headers that should be forwarded to the remote server. | |
/clientheaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.vlt | |
*.vlt-sync-config.properties | |
*.vlt-sync.log | |
*.project | |
*.DS_Store | |
*.brackets.json | |
*.MF | |
*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This script only creates users and a single group. This does not set permissions or put the users into the group. | |
#Once this script is run, go to /useradmin and add all created AEM users to the created AEM group | |
#Open the created group and add Groups: Authors, DAM-users, tag-administrators, project-administrators, template-authors, workflow-administrators, /libs/cq/core/content/nav/personalization (full permissions) | |
#Number of AEM Accounts to be created | |
STUDENTS=13 | |
#Name of group being created | |
GROUP=mygroup | |
#Name of AEM users |
NewerOlder