Skip to content
eKrausedivae edited this page Apr 15, 2024 · 2 revisions

Do links that lead to another page have to be hard coded?

Links within a project eg. .page and .live URLs are automatically turned into relative links. For authoring purposes it is more intuitive to use absolute links copy/pasted from your browser.

Why does my page not update after changing content in Google Drive/Sharepoint?

Content needs to be previewed/published with the Sidekick Plugin after every change. Emptying cache can also help.

How to index all published documents?

Add a spreadsheet query-index to your root folder with a sheet raw_index. Add a column path and other properties that need to be extracted. Preview and publish the spreadsheet to activate the indexing. The data can be called by fetching the /query-index.json endpoint.

Important: Only documents that have been published after activating the indexing will appear in the query-index. Documents that have been created before activation need to be published again. EDS has standard properties (e.g. title) but any custom property can be used in the metadata block. If title/description properties are not added to the metadata block in the document, EDS will try to find them by using the content of the first h1/p tag. Sometimes it takes a couple of minutes for the spreadsheet to update.

See also: https://www.aem.live/developer/indexing

How to set up a form?

Create a spreadsheet with a sheet shared-default for the form setup and a sheet incoming for submitted data. Add wanted properties as column headers in both sheets. Create a form block with a link to the form json endpoint.

Important: Field names in the code and column headers in the incoming sheet need to be identical for the submitted data to appear.

See also: https://www.aem.live/developer/forms

Sometimes the Sidekick Plugin doesn't show/load.

Have you tried turning it off and on again?

How many characters can my AEM (branch) subdomain be?

Your branch, repo, owner combination for your subdomain segment cannot exceed 63 characters.

How can I delete/unpublish a page?

Delete the source document from Google Drive/Sharepoint. Open the previewed page. In the Sidekick Plugin, click Unpublish or Delete.

Why is my block in the Sidekick Library blocks plugin not editable?

Blocks are only editable in the Sidekick Library view if they have a data-library-id attribute and a content-editable attribute. The block plugin does this automatically by taking the plain html of a block and adding these attributes to each tag. But only if the tag is an editable tag (e.g. h1, p, span). Divs for example are not considered editable and don’t get these attributes.
Example: If a block contains only one paragraph of text it is rendered as a div and won't receive these attributes. Therefore it is not editable in the Sidekick Library view.

More questions? Check out AEM’s FAQ: https://www.aem.live/docs/faq