We are trying to customize the user editor console provided out of the box from AEM (AEM 6.0 SP3, Touch UI). However our changes are not reflected.
Expected: The new fields provided (see provided code segtment below) are shown, merged via the resource merger into the out of the box fields.
Actual: The new fields are not shown.
The overlay xml segment (userdetails) is found below (/apps/granite/security/content/userEditor/.content.xml):
<userdetails
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container"
class="well user-details-sections-margin">
<items jcr:primaryType="nt:unstructured">
<extendedInfoContainer
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container"
class="extended-container">
<items jcr:primaryType="nt:unstructured">
<linkedin
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
class="save-button-enabler"
fieldLabel="LinkedIn"
name="./profile/linkedin"
value=""/>
<twitter
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
class="save-button-enabler"
fieldLabel="Twitter"
name="./profile/twitter"
value=""/>
<xing
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
class="save-button-enabler"
fieldLabel="xing"
name="./profile/xing"
value=""/>
<photo
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/pathbrowser"
rootPath="/content/dam/arvato"
class="save-button-enabler"
fieldLabel="Profile photo"
name="./profile/photo"
value=""/>
</items>
</extendedInfoContainer>
</items>
</userdetails>
We followed the instructions found in : https://docs.adobe.com/docs/en/aem/6-0/develop/extending/customizing-consoles-touch.html
The same approach has worked fine in different projects, using AEM 6.2.
why are you spending time in building a console which will be used only by admins? Its not a feature used by end users or your content authors. There is no point in building a fancy console. I am pretty sure newer versions of AEM will have a better console OOTB. AEM 6.3 already has a touch ui user admin console. AEM will retire classic UI consoles completely by 6.4. I would recommend just wait for Adobe upgrades especially because there is not much use of this console.
Related
I'm using Firefox on MacOS and a specific access key isn't working:
<label id="name_label" for="name" accesskey="n">Name</label>
<input id="name" name="name" value="" tabindex="1" type="text" />
This works on Safari and Chrome, but not Firefox. When I use Control+Option+n, the focus is not set on the "name" field. There are 2 other fields in the form, and their access keys work as expected. There are no conflicts on the page for the access key (i.e. accesskey="n" is only defined once). There are no conflicts on the page for the target element name (i.e. id="name" is only defined once).
I can use the developer tools to change the accesskey on that label to something else (e.g. w) and it works, so the link between the <label> and the <input> is correct. There is something about the n specifically.
I haven't been able to find any information online about any "access keys that don't work (for some reason)" but I'm starting to wonder if the n access key conflicts with something in Firefox.
Installed plug-ins are uBlock Origin, Firefox Devtools ADB Extension, and Power Close.
I´m currently working with Ionic 5 and trying to add a deeplink functionality for activating and account or resetting a password.
My current solution is working in general but only with my custom scheme but not with HTTPS. Maybe I got something wrong but I want the user to click on an HTTPS link which comes in via mail and open the app instead of the browser with Https. I tested in a codepen and it´s working with myScheme://myurl.com/user/activate?link={linkGuid} but not with https://myurl.com/user/activate?link={linkGuid}.
Here is my config.xml:
<plugin name="ionic-plugin-deeplinks" spec="1.0.24">
<variable name="URL_SCHEME" value="myScheme" />
<variable name="DEEPLINK_SCHEME" value="https" />
<variable name="DEEPLINK_HOST" value="myurl.com" />
</plugin>
Any ideas what I could try to make it work?
Thanks in advance!
Cheers!
I built an app that I got into apple’s test flight and today I sent out the notifications to users to start beta testing, but for some reason it is showing the user the previous build. If the user closes the app and reopens the app it shows the current version.
In my config.xml file I have defined
<plugin name="cordova-plugin-ionic" spec="5.2.8">
<variable name="APP_ID" value="9dab4a60" />
<variable name="CHANNEL_NAME" value="Master" />
<variable name="UPDATE_METHOD" value="auto" />
<variable name="UPDATE_API" value="https://api.ionicjs.com" />
<variable name="MAX_STORE" value="2" />
<variable name="MIN_BACKGROUND_DURATION" value="30" />
</plugin>
Is something wrong here? Not sure why this is happening. This also was happening to me when I was testing on my own device using a development provisioning profile. I had to always open the app once, close it and reopen it to see the new build. Any ideas?
Possibly when you first made the app the method should be background. So it downloads the updates and only updates on the next run.
The auto method checks the splash and installs immediately.
I also still have questions about the live deploy. In your case you have to generate a new package build. I realize that live deploy does not update when you add native plugin. Have you been through this?
I am trying to use an iframe inside my hybrid app. The iframe works perfectly, but it as some links inside that won't open when you click on them specifically when they are deployed to the iOS platform. It works in the browser view, but not in the iOS device. Is there a solution for this?
Put this in your confix.xml and try it.
<content src="index.html" />
<access origin="*" />
I tried to include a component in another component using following code
<%
String fakePath = resource.getPath() + "/nav-tabs";
%>
<cq:include path="<%=fakePath%>" resourceType="ven/components/navMenu"/>
When I open the site page and tried to edit the component to author data, following error is coming in the browser console and not able to see the component dialog.
widgets.js:3318 GET
http://localhost:4502/content/ven/global/en/testPage/jcr:content/nav-tabs.infinity.json?_dc=1481236797569
404 (Not Found)
I do not see any resource created below the content tree too.
Could any one shed some light on this?
Thanks,
Sri
It looks like you placing this component directly on the page, because resource.getPath() returns http://localhost:4502/content/ven/global/en/testPage/jcr:content in your case. You can use page templates to create initial content when creating the page.
For components you can use cq:template resource:
Just place cq:template resource beneath your component. As soon you add a new component it should copy the content of it into your resource (similar to page templates)
In your case: _cq_template.xml :
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
jcr:primaryType="nt:unstructured">
<nav-tabs
jcr:primaryType="nt:unstructured"
sling:resourceType="ven/components/navMenu"/>
</jcr:root>