So I have assets publishing based on date and flowing to Scene7, how can i do it using time as an input along with date. So basically if the date is 2020-02-17T16:30:00.000+05:30, I have a job which will publish the asset at particular date. But I want it to publish at that time itself and not wait for the job which runs midnight.
What AEM version are you using? AEM already offers when to publish an asset. And, by default, publishing in AEM will publish to Dynamic Media.
Related
I'm running a website that is dependent of some data which changes daily. Each day at a specific time, I have a webhokk to Netlify which is triggering a build that is grabbing the data and saves it to /static/data folder of Gridsome. After the update is completed, the script that collects data is also saving a json file with the date when the last update of data occured.
My problem is that I've committed this data to github and every time I do a commit to github Netlify will copy a previous data from /static/data folder to LIVE exposing older data to my calls by overwriting the existing data which in most of the cases is older!
How do I tackle this issue? Will it be safe to add the /static/data folder to .gitignore? The decision to write new data is by comparing today date with the one I read from mysite.org/data/udapte.json
Any help will be appreciated.
Thanks!
I have created a custom workflow model for DAM update asset. I have kept two steps only Metadata Processor and DAM Update Asset Workflow Completed
I am on 6.4 and I could see 319x319 rendition is used in content finder. Want to know if other renditions are used by any default AEM components? If used, is there any possibility to make all of them point to a single rendition?
You can safely remove all renditions, if, in fact, you do not use them at all and you display the raw image from your DAM (the only downside is that your Content Authors will lose several thumbnails, usually helpful to identify the asset they want to use). If you need image manipulation and optimization, you can review ACS Commons Named Transform Image Servlet or any other external service (Akamai, Adobe Dynamic Media).
Our client has a spreadsheet of about two thousand tags they want to start using on their AEM-based website.
I need a quick way to automatically import them as AEM tags.
I was thinking of writing a script to parse the document and issue a number of POST requests to AEM to create the content at /etc/tags
As an alterative, I considered uploading the CSV file to the repository and handling the creation of tags by means of a custom component or running a Groovy script in the AEM Groovy console.
Both solutions would require a lot of work and I'm a bit short in time. I also wouldn't like to reinvent the wheel. I don't think there's a way to do complete this task using OOTB functionality but is there any way to speed up the process?
You could use the Tag Maker provided by ACS AEM Tools.
You can find it in Tools > ACS AEM Tools > Tag Maker after installing the AEM Tools package on your instance.
It allows you to import tag hierarchies from CSV files and has a number of pre-defined converter that infer tag names and titles.
I am new to CQ5 and am wondering if there is a way to add a workflow to the DAM such a way that it kicks in when the users import file(s).
The workflow needs to do the following:
Call an External API over HTTP (REST) providing the file or the location of the file
The external service will perform some operations on the file and save the file
The service will respond back with the newly saved file or the location of the saved file
Workflow continues on with whatever else CQ5 does when importing files.
I came across the DAM Update Asset workflow where workflows can be dragged and dropped. I believe for my purpose, I will have to create a custom workflow?
I am new to CQ5 but now Java. I would love some guidance on how should I go about creating this custom workflow.
I see 3 solutions here:
1. Modify the DAM Update Asset workflow
You may add a new step to the workflow you've mentioned. I suggest adding new Process step between Metadata extraction and Thumbnail creation, so you'll have all metadata, but still can modify the asset before creating thumbnails (assuming it's an image). Process step invokes a configured OSGi service implementing the WorkflowProcess. More info in the official docs.
2. Create a new workflow
Implement WorkflowProcess as above, rather than adding Process step to the existing workflow, create a new one. The Launcher tab in the workflow console allows you to bind the created workflow to the event raised after uploading new asset.
3. Create an event handler
You don't have to use workflow at all. Create a new OSGi event handler and bind it to the DamEvent.
I am working with Alfresco as Back-end and in alfresco some task done by executing workflow.Now my problem is I want to add workflow in alfresco manually but i don't know where to put workflow script so i will choose from work space ?
Following picture describes my problem :
I reached below point but don't know what to do further ?
According to above picture From where these bunch of files are came..?? OR At which location i will find these files in project workspace?
Login as admin in alfresco.
Navigate to Company home>Data dictionary>Scripts
You will be able to see all these files.
If you upload any of your js file then it will be automatically pickedup and addedinto this list.
You will find them in Company Home/Data Dictionary/Scripts.