Quantcast
Channel: Adobe Community: Message List
Viewing all 78215 articles
Browse latest View live

Re: Customize cq:dialog!

$
0
0

You can create client libs of category cq.authoring.dialog.

 

If you want to apply clientlibs only for that particular dialog then use extraClientlibs

e.g.

cq: dialog: {

jcr: primaryType: "nt:unstructured",

jcr: title: "Page",

extraClientlibs: ["category1","category2"],

mode: "edit",

sling: resourceType: "cq/gui/components/authoring/dialog"

}


Copy Alert, then edit copy causes original to be edited too

$
0
0

Hoping someone can verify that what I am observing is not correct and specific to me only.

 

Steps to reproduce:

  1. Create an anomaly alert.
  2. Back in the "Alerts" screen, select that alert and choose "Copy".
  3. Edit the copy, then save it.
  4. Open the original alert.

 

Expected result:

The original alert has its original conditions, not what had been edited in the copy.

 

Actual result:

The original alert has the same settings as the copy. After editing-and-saving the original back to its conditions, the copy retains its own conditions.

Re: Analytics Users & Assets vs the Admin Console Users

$
0
0

Thanks for this quick response. You said it doesn't mean that their Analytics account gets deleted, so that means they could still access Analytics directly if their account remained in Analytics but not in the Admin Console?

Re: Add property to DAM Asset metadata using custom workflow

$
0
0

You can get required details like below

 

//Get session

Session session = workflowSession.getSession();

// Get the Workflow data (the data that is being passed through for this work item)

final WorkflowData workflowData = workItem.getWorkflowData();

// Get the path to the JCR resource from the payload

        final String payloadPath = workflowData.getPayload().toString();

        ResourceResolver resourceResolver = null;

        try {

            // Get the ResourceResolver from workflow session

            resourceResolver = getResourceResolver(workflowSession.getSession());

            Resource resource = resourceResolver.getResource(payloadPath);

            // Using resource, we can read/update/add properties to required node by adapting to node or iterating to the required node and save the node by using session

        }catch(Exception e){

        // Add appropriate logger statements for checking errors

        }

Hope this helps!

Tar MK Corruption

$
0
0

As given in all the documentation, the solution to TarMK corruption is to run the 'check' run-mode on oak-run jar and revert the repository to the last known good revision by making changes to journal.log.

 

But doing this would wipe out some of the recent data from the repository. Is there a way to know what data or content has been erased by reverting to an earlier revision? Also what would be the best way to get this data back?

 

Thanks.

Re: Setup SSO for multiple domains

$
0
0

Hi ,

 

if it is SSO then why should it ask again ..

 

Solution Wise : you can use servlet filters to hande above situation.

Re: Excerpt property in AEM Lucene Search

$
0
0

Hi Vazahat,

 

Did you get any resolution for this?

 

Thanks,

Satish

Comparing values in two tables

$
0
0

I have an Excel sheet with lookup tables that I need to convert to a fillable PDF. I am currently using AEM 6.4 to develop the form. I cannot use an external database, the form has to be portable for use by field personnel. I am not new to scripting, but I am not a programmer, this is out of my wheelhouse. Any help is greatly appreciated.

 

My form consists of the following:

A user facing page that allows the user to enter values in an expandable table called adj_table. The column I need to use as the lookup value cell is called date, the value I need to lookup is called m_index and is placed in adj_table in a cell called index. We then use the index value to calculate and index adjustment. There are other variables, but solving the index issue will give me a good start and something to work from as an example.

 

In another table that is hidden, we enter the monthly index in an expandable table. The table is named m_table and has the cells m_date and m_index. This table can be updated by the field personnel by clicking a button to show the table.

 

I need to compare the the adj_table date cell value with the values in m_table, m_date so that it retrieves m_index from the correct month. the Excel formula we use includes error trapping and looks like this: =IF(ISERROR(VLOOKUP($A3,monthly,2)),"Index Not Found",VLOOKUP($A3,monthly,2))

 

Thanks

T


Re: AEM 6.3 - registering Servlets with paths

$
0
0

Per Apache Sling, there are different ways to register a servlet path.
If you want at first level then you have to register a servlet as '/feed.servlet' and then in 'Apache Sling Servlet/Script Resolver and Error Handler' configuration add '/feed.servlet' as your servlet execution path. Note that '.servlet' is expected and mandatory for first level servlet.
If you want to keep at second/more than one level then in the configuration, you have to specify the sub-tree like '/feed/' which will expect a servlet at any of the /feed/ sub-tree e.g. '/feed/fetchData' or '/feed/postData'


If you have given path as '/feed' or '/feed/' in configuration and calling the servlet with http://localhost:4502/feed , it won't work because Apache Sling expects a resource in this case and not a servlet execution script. A servlet script will only be executed in above two scenarios I mentioned.

Enhanced Smart Tags Training Workflow - Broken Pipe

$
0
0

Hi Devs,

 

I am getting a Broken pipe exception while invoking the Enhanced Smart Tags training workflow from my local 6.5 author instance. The smart tags workflow is working fine, however it is always throwing a broken pipe exception on my error logs whenever I invoke a training workflow..

 

The similarity search JMX configuration is all passed while invoking validateConfigs. Any thoughts why the socket/pipe is getting closed prematurely. Is it the organisation network that causes this issue.

 

 

Caused by: java.io.IOException: Broken pipe

  at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)

  at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)

  at sun.nio.ch.IOUtil.write(IOUtil.java:148)

  at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504)

  at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:264) [org.apache.felix.http.jetty:4.0.8]

 

Best Regards

Paul

Re: Tar MK Corruption

Re: Tar MK Corruption

$
0
0

When you determine the latest good revision, you can find the approximate date and time of that revision:

Offline Compaction fails with SegmentNotFoundException & IllegalArgumentException step 4.

 

Next, you can query your JCR by date of creation and modification. For example, for cq:Pages you can use a query similar to:

 

/jcr:root/content//element(*,cq:Page)[(jcr:content/@cq:lastModified >= xs:dateTime('2015-11-03T04:00:00.000-05:00') and

jcr:content/@cq:lastModified <= xs:dateTime('2015-11-03T20:00:00.000-05:00')) or (jcr:content/@jcr:created >= xs:dateTime('2015-11-03T04:00:00.000-05:00')

and jcr:content/@jcr:created <= xs:dateTime('2015-11-03T20:00:00.000-05:00')) ]

 

The result can be packaged via Query Packager

 

That is the best option to backup the content that will be wiped up by reverting to the latest good revision.

Re: Enhanced Smart Tags Training Workflow - Broken Pipe

$
0
0

Most likely the certificate is incorrect or corrupted. From CRXDe delete /home/users/system/dam/dam-update-service/keystore

When it's completed re-do the entire Smart Tags configuration.

Re: Setup SSO for multiple domains

$
0
0

SAML setup is based on the SP(Service Provider) ID. So, "https://www.mycompany.com" will be one SP ID that will be mapped to a corresponding and I don't think this is possible OOTB without any custom code.

 

That said, IF you would like to handle it within one SAML handler, you have to map the https://www.mycompany.com

and "https://www.mycompany.co.uk" to the same AEM HOST using dispatcher.

 

In other words, use the SP ID as AEM HOST(10.****) name in the SAML handler and map both the DNS to this host based on the content structure. Example:

 

https://www.mycompany.uk is mapped to 10.****/content/uk

https://www.mycompany.com is mapped to 10.****/content/global

 

Check [1] for more details on how to define virtual hosts.

 

[1] Configuring Dispatcher

Re: Export time metrics to Excel

$
0
0

Have you tried requesting the seconds instead of the time formatted value?  Then you can use excel to compute the seconds back to minutes.


Re: Can marketing channels report match site visits?

$
0
0

Although I wouldn't recommend this approach - if you are convinced its the right path for your organization, you can definitely achieve this by adding a 'Is First Page of Visit' condition.  You will need to use "all of the following are true" as the upper level logic.  Which means if you are using 'any' today because you have multiple acceptance criteria you will need to break them out into separate steps in the waterfall.

Re: Enhanced Smart Tags Training Workflow - Broken Pipe

$
0
0

No luck again. I tried deleting the key store and performed the steps again.

 

If I am not wrong, we use a single certificate for smart tags endpoint & training endpoint. If it's a certificate issue, why the smart tagging works without any problem

Re: CheckBox in table

$
0
0

It appears to be that aem currently has a bug where the title of the checkbox cannot be hidden if not it will face the aforementioned error.

This is more of an issue of that the id cannot be recognised, instead of unable to create a new row through the workflow, that resulted in the latter issue.

Re: Adobe campaign and Snow flake connector

$
0
0

Hi,

 

Check if your ACC rdbms supports federation, such as MS SQL's 'linked servers':

 

From there just expose the db table schemas per usual in Campaign.

 

Thanks,

-Jon

Re: AI to ACC - Automate Emails

Viewing all 78215 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>