How is content published from Author to publish Environment in CQ5? - aem

I have installed two instances of CQ5-quickstart.jar . One as Author and one as Publish.
I have a very basic query. If I publish/edit some content in the Author Environment, HOW will it be visible in my Publish environment ?
I mean, is the flow of code/data between these two instances mentioned somewhere that I've missed ?

You'll need to 'Activate' the page first. Only then it will be available on the Publish environment. Read this page please .
http://dev.day.com/docs/en/cq/current/wcm/page_publish.html

Hi you could also check on configuring replication agents
http://dev.day.com/docs/en/cq/current/deploying/configuring_cq.html#Replicating from Author to Publish

First check the publish environment in Replication properly and test connection is established or not.If it is success than activate content.While activating un check those two options and click activate than the changes are can see in publish.
If any modified jsp code need to build in package and push to live.
Thanks
Ramesh v

Related

"SFDX: Deploy Source to Org" function missing

Hello I have created a LWC project in VS Code but the "SFDX: Deploy Source to Org" option is missing when I Right-click the default folder under force-app/main.
I have authorized the org and set a default scratch org.
Please help.
For scratch orgs it's more "natural" to push and pull the changes, let SFDX figure out what changed on your system / what changed server-side (new field, new report? new object? good luck spelling it all out in package.xml, life is too short for it). The team behind VSCode sfdx plugin made conscious decision to hide these options.
Try with sfdx force:source:push.
If you need single file there's still source-ish deploy command (will warn you if you're overwriting something changed on server / by another dev and you can force deploy if you want).
https://developer.salesforce.com/tools/vscode/en/user-guide/development-models
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_develop_any_org.htm
The deploy-retrieve are old school metadata api commands

"Unauthorized" while selecting forms for associating workflow

I am using the latest opensource formsflow.ai v4.0.2. I brought the entire project to my personal laptop. I followed the Docker full installation guide. Docker is running fine. In http://localhost:3000, login as formsflow-designer and selected an existing form for associating workflow, If I select one of the forms it shows :unauthorized" as shown in the below screenshot.
This "unauthorised" error is due to wrongly configured environment variable for forms-flow designer role (DESIGNER_ROLE_ID). Please refer https://github.com/AOT-Technologies/forms-flow-ai/blob/master/forms-flow-forms/README.md#formsflow-forms-userrole-api for obtaining the required env for roles and use those in the environment variables mentioned in the table https://github.com/AOT-Technologies/forms-flow-ai/tree/master/deployment/docker#formsflowai-keycloak-variable-settings . And rebuild and deploy forms-flow-web. This should fix your issue.

cloud9-ide collaboration in self hosted possible?

Is it possible to have the collaboration and workspace sharing features in a self-hosted environment built from https://github.com/ajaxorg/cloud9?
it is possible with the newer version from https://github.com/c9/core, just pass --collab flag to the server.js script
The --collab flag activated the "Share" and "Collaborate" buttons for me, but the actual feature doesn't work. When adding a user, I get
Error adding workspace member: Cannot POST /api/collab/0/members/add?silent=false&access_token=token
Any solution to this? I feel like passing the --collab flag is more of a hack than anything and not intended to be run on self-hosted users, only for Cloud9 servers.

How to use Jenkins Build Keeper Plugin

I would like to use the Jenkins 'Build Keeper Plugin' but I don't know how. The plugin site doesn't describe how to use it. Plugin Site
On this page I found the extension points which I would like to use, e.g. the org.jenkins_ci.plugins.build_keeper.KeepFirstFailedPolicy
But in the configuration part of my project, I can't find any place to configure it to use that policy. So where do I have to add it?
Jenkins version is 1.544
Have you tried to open Job configuration page and look for settings ?
For example it is another plugin but it is very similar : Build Discard plugin, may be you will use it for your purposes:
Build discard old build settings
You can configure it in the job under the section Build Environment.
For screenshots see also https://issues.jenkins-ci.org/browse/JENKINS-25293
If used from within a pipeline, it is enough to write
'currentBuild.rawBuild.keepLog(true)'
That is unfortunately not an interface to the plugin, just a jobs setting, but can solve it when You want to keep all builds, or decide within the build if to keep it.

Content model is not working in 4.2.f

Okay, so I had a working content model and share config in alfresco community 4.2.e. I had to reinstall alfresco and I updated to version 4.2.f. When I start tomcat I can log into alfresco, but when I try to load share it takes like 10 minutes to load and when it has loaded and I try to login it says "not availible or wrong login" after 3 minutes.
Here is the content model: http://pastebin.com/2wMJe3YL
.And the share config: http://pastebin.com/n1YK6i60
--edit1--
The alfresco.log: http://pastebin.com/PaiAUv9n
The alfrescotomcat-stdout(date).log: http://pastebin.com/RZ4fVJ8G
In the 2nd log I noticed it says refused connection, can the problem be that I changed some ports on the reinstallation from alfresco?
-- end edit1--
Alfresco does work with no content model and share config used and Alfresco works with the standard content model and share config.
Thanks in advance.
Solution: The problem was that I thought that the reinstall of alfresco would be enough to change the ports and it is, but I forgot to add some code in MY share config. The code I mean can be found here: https://wiki.alfresco.com/wiki/Changing_Default_Port_Configuration thanks to: Gagravarr