since ‎05-11-2019
‎12-01-2021
fionas76543059
Level 1
Re: Migrating to Cloud Manager (with AMS) what to do with...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi Kunal, Just to clarify, I mean the designs are stored in /etc/designs and they are not kept in our code base/source control

Views

43

Likes

0

Replies

0
Re: Migrating to Cloud Manager (with AMS) what to do with...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi Kunal, We also don't have editable templates. In the JCR, they are stored in /etc/designs. However we don't have them in the source code as the end customers can change them. (via the Design mode in the pages.)

Views

53

Likes

0

Replies

0
Re: Migrating to Cloud Manager (with AMS) what to do with...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Jorg. In fact, we don't change them during runtime. Mostly they are internal lists and a few email templates, robot files etc. and a page of "paths" - servlet resource type mappings. Maybe it was originally thought that they would be changed on-the-fly. They all have primary types cqPaths, but don't really render. I will try putting them in /apps and see how I get on.!

Views

58

Likes

0

Replies

0
Re: Migrating to Cloud Manager (with AMS) what to do with...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks for your swift response ! Ankur sugged to put them under apps so I'll try that.

Views

71

Likes

0

Replies

0
Migrating to Cloud Manager (with AMS) what to do with /etc
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
hi guys,I'm doing the above migration (we have 6.5) and I have moved the /etc/clientlibs to the ui.apps as required. I have a bunch of other custom stuff in a directory called /etc/ These are some "Pages" that contain configuration used by some of our components i.e. not ordinary pages for Editors to use. Also some files used by the robots/sitemap etc My question is :Is it o.k. to leave them in /etc/ ? I know that Adobe seems to be encouraging people to stop making /etc a catch-all place for ran...

Views

156

Likes

0

Replies

9
Re: Get runmodes value for client-side JS using hidden field
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Kunal for your input. I would also Accept your Solution, but I don't seem to be able to accept more than one.!

Views

51

Likes

0

Replies

0
Get runmodes value for client-side JS using hidden field
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/get-runmodes-value-in-client-side-js/td-p/326526 Hi folks,There is a discussion here on using a hidden field to make the "runmode" available to client-side JS widgets. I want to do the same as the OP.Jorg Hoh said"You should not expose the concept of runmodes to your frontend. Instead you should define a marker which is queried by your frontend; and this marker might be rendered directly into the page or queried via JSON. ...

Views

93

Likes

0

Replies

3
Re: Cloud manager: Different FrontEnd parameters for Stag...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks, I understand now that the Prod environment is supposed to use the same build artefacts as the stage environment. So I won't be able to build my frontend SPA apps with environment specific files. I'll have to think of something else.

Views

72

Likes

0

Replies

0
Re: Cloud manager: Different FrontEnd parameters for Stag...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks!I was hoping not to have to use the API, just the UI at the start. Just to get it clear in my headIn my POM file, for the frontend-maven-plugin, com.github.eirslett frontend-maven-plugin npm run stag or prod generate-resources npm run Then somehow I can ensure that the is "stag" in the Staging part of the pipeline and "prod" in the Production part ? thanks in advance!!

Views

103

Likes

0

Replies

0
Cloud manager: Different FrontEnd parameters for Stage and Prod?
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
hi folks,I'm moving to Cloud Manager. I know how to have different OSGI config files for stage, prod and dev.But my ui.frontend Javascript also has different parameters for dev, stage and prod.I can make put different npm build commands in the package.json.However, in the POM file, I need to be able to use Profiles to have different commands for Prod and Stage.However, I don't seem to be able to do that. Is there another way around this? There are some environment variables like PIPELINE_ID etc....

Views

131

Likes

0

Replies

3
Re: Service User with Keystore - importing via a package...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Ankur!

Views

106

Likes

0

Replies

0
Re: Service User with Keystore - importing via a package...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
I'll answer my own question as it got worked out eventually. It seems that the service-user+keystore package that I created in the lower environments didn't import properly into the Prod environment Author due to security checks.In the end, I created the system user manually using crx/explorer/index.jsp in the Prod Author environment, uploaded the keystore file (from security/users.html) , made sure /home/users/system/blah... directory was ticked for all permissions incl replications. (useradmin...

Views

114

Like

1

Replies

1
Service User with Keystore - importing via a package half-fails
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi folks,On the Author instance in the Stage environment, I created a Service User and added a Keystore that I created via open_ssl.I used the ACL Packager program to build a package with my service user principaland its permissions and keystore. I then replicated the package to the publish servers and it all worked fine. However when I came to import the package on the Prod environment Author, Iwas not so successful. From the useradmin screen, it looked fine. The system user was there with all ...

Views

170

Likes

0

Replies

4
Re: Integrating Bouncycastle 1.66 with AEM
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Brian, I'm not actually currently developing with Forms, this is a custom App that has to do with integrating with another Java server. But I'll try there anyway!! thanks Fionas

Views

143

Likes

0

Replies

0
Integrating Bouncy Castle into AEM
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager Forms
Hi folks,Just wondering if anyone tried this in 6.5. I wanted to use bcprov-jdk15on and bcpkix-jdk15on.I read here that I have to add the jars into in jre/lib/ext and add BouncyCastle as a provider in java security properties.I also added each package that I wanted into sling.properties, (no wildcards), in org.osgi.framework.system.packages.extraI thought that AEM would just accept them then. However, I then get osgi wiring error messages which I got rid of by adding them to my bundle pom.xml b...

Views

121

Likes

0

Replies

0
Integrating Bouncycastle 1.66 with AEM
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi folks,Just wondering if anyone tried this in 6.5. I wanted to use bcprov-jdk15on and bcpkix-jdk15on.I read here that I have to add the jars into in jre/lib/ext and add BouncyCastle as a provider in java security properties.I also added each package that I wanted into sling.properties, (no wildcards), in org.osgi.framework.system.packages.extraI thought that AEM would just accept them then. However, I then get osgi wiring error messages which I got rid of by adding them to my bundle pom.xml b...

Views

174

Likes

0

Replies

2
Re: Multiple React cras with aem-clientlib-generator
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
config.output.libraryTarget = 'umd';config.externals = { 'react': { root: 'React', commonjs2: 'react', commonjs: 'react', amd: 'react' }, 'react-dom': { root: 'ReactDOM', commonjs2: 'react-dom', commonjs: 'react-dom', amd: 'react-dom' } }; return config ; Then I included an umd version of react.js and react-dom.js in a new clientlib. I made the other clientlibs dependent on it. Now my react and react-dom code is not repeated when I have multiple react components on the page.

Views

227

Likes

0

Replies

0
Re: Multiple React cras with aem-clientlib-generator
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi, I found a way of doing what I wanted built on the npm plugin that you have above, "rescript". First I stop the chunking as you suggest. Then I added this to the ..rescriptsrc.js

Views

228

Likes

0

Replies

0
Re: Multiple React cras with aem-clientlib-generator
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
OK. thanks. I get you now. We just have very simple static templates which don't have any components or component logic. You are putting the "div" with react id into the template whereas I was putting it into a component to be placed in a column control.

Views

268

Likes

0

Replies

0
Re: Multiple React cras with aem-clientlib-generator
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks for that. I take it that either you have ejected the CRA or you are using some extra plugin that allows you to edit the webpack.config.js. Then you include the css in the component ( and the js I assume at the end of the component?). I can try this. Is it o.k. to put CSS into a though?, I guess it works for you!. Thanks. I will try it out.

Views

293

Likes

0

Replies

0
Re: Multiple React cras with aem-clientlib-generator
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
hi Chitra,

Views

296

Likes

0

Replies

0
Multiple React cras with aem-clientlib-generator
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi folks,I am integrating a bunch of different React CRAs into an AEM Page template. I am not using the "SPA Editor". I'm just integrating them directly with custom components, but I am using the very handy aem-clientlib-generator npm plugin to create the clientlibs from "build/static" and copy them into my AEM codebase. I looked at the JS for each CRA and I see that the default CRA webpack configuration has "chunked" the JS. There is one file called "main..chunk.js", one called "runtime-main..j...

Views

328

Like

1

Replies

8
Re: Include a react component in a page, using a clientli...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Brian.

Views

151

Likes

0

Replies

0
Re: Include a react component in a page, using a clientli...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Brian. That is great info. Do you know of an on-line example of a React component included in an AEM page as above ? I'm not currently interested in trying out the SPA Editor. All demos I've found are for that. tnx. Fiona

Views

164

Likes

0

Replies

0
Include a react component in a page, using a clientlib, no need to be editable
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi folks,I want to include a react app in a simple component in a static template page. I found the aem-clientlib-generator npm plugin to create an AEM clientlib and that works fine. So after that, I include the clientlib in the page and put nothing but the SPA "root" id in a in the component sightly file ? Am I overlooking anything ?I have no interest in "editing" the component at this time so I've no interest in the Editable SPA. thxFiona

Views

185

Likes

0

Replies

4
Re: Package Manager - upload file sometimes doesn't work
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
By the way, the system isn't hanging except for that one action that I am trying to do, upload a file package via crx/packmgr

Views

171

Likes

0

Replies

0
Re: Package Manager - upload file sometimes doesn't work
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks, I will check the CPU usage next time it happens.

Views

172

Likes

0

Replies

0
Package Manager - upload file sometimes doesn't work
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
hi all, I have this occasional problem whereby:On our Adobe Managed System, (not Cloud), on the crx/packmgr UI, I click on the upload package. However, the file picker menu doesn't allow me to select a local file to upload.Eventually after some time retrying, sometimes hours, it will eventually work.I am in the administrators group. Any ideas? thanksFiona

Views

219

Likes

0

Replies

5
Re: "Allowed components" design (with static templates) -...
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Thanks Brian, So it sounds like you can interleaf alterations to the allowed components via the Design Mode UI and XML content packages without running into problems.

Views

243

Likes

0

Replies

0
"Allowed components" design (with static templates) - sometimes disappear
Avatar

fionas76543059

fionas76543059
- Adobe Experience Manager
Hi folks, We have static templates and authors do the "allowed components" design via Design Mode. (We can also build and download the designs via /etc/designs/ filter.) They complain that sometimes they have to redo parts of the "allowed components", as the configuration disappears, possibly when the components change, like getting a new Component Group. Has anyone ever heard of this problem before.? Another possibility is to do the "allowed components" Design via an exported package of /etc/de...

Views

278

Likes

0

Replies

3