Dam:asset scripts location

Hello,
I dont find the location of the dam:assets scripts. For example the assetthumbnail script which is launched when you update one asset's thumbnail via this url /assetname.jpg.assetthumbnail.html .
Where these scripts are located ?

This is handled by a servlet in the cq-dam-core bundle.
It can only be seen as component in the felix web console: http://localhost:4502/system/console/components/com.day.cq.dam.core.impl.servlet.Thumbnail SetterServlet
Cheers,
Alex

Similar Messages

  • Comment feature to Dam:assets

    Hello,
    I would like to add comments to our DAM assets.
    I created a node comments owning the propertysling:resourcetype=collab/commons/components/comments
    I tried to use the createcomments script with this url http://server:4502/content/dam/myasset.ai/jcr:content/alt/comments.createcomments.html
    The create comment page is successfully displayed the comment is not stored when I click on "create".
    In fact a node /content/usergenerated/content/dam/myasset-ai  is created with no children.
    When I want to create an other comment a new node is created
    /content/usergenerated/content/dam/myasset-ai0
    That's pretty weird...
    Instead of trying to comment an asset I created a dummy node of type nt:unstructured and ran the script on it
    ttp://server:4502/content/dam/dummynode/jcr:content/alt/comments.createcomments.html
    This time the comments are sucessfully created.
    So is there a way to comments the dam:assets ?

    I thinks I found the problem.
    In the com.day.cq.collab.commons.impl.servlets.createComment servlet the addComment function is parsing the node url and use the function JcrUtil.createValidName. This function remove some "illegals" character as ".". So that's why the comment node created for my assets are named asset-extension instead of asset.extension and so the comments aren't successfully linked to my assets.

  • Default java / jsp file which gets executed before DAM asset rendering

    Hi,
    I have a requirement to implement access control on DAM assets on the basis of a metadata property (tags).
    Is there a default JAVA / JSP file which gets executed before rendering a DAM asset?
    If yes, how can I override it?
    If no, how can I add a new JSP / JAVA file to be executed before rendering of each DAM asset?
    Thanks in advance,
    Anurag

    Hello Anuran,
    I dont think there is any api which is executed when you rendering any DAM asset on page component because for each type of DAM asset there are different APIs available which you use the render those dam asset like "Image" class to render the image asset.
    Each dam asset also support having different rendition format and if you are interested in that then refer http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/dam/api/DamEvent.Type.html
    Please let me know if you need more information
    Thanks,
    Pawan

  • DAM Asset Share / Asset Editor

    I created DAM Asset Share / Asset Editor pages and customizied metadata on editor. I created them in dam admin - New - New Asset Share .... That created both asset editor and asset share pages and I customized them. I configured query builder of that asset share to point to the new asset editor.
    But how can I change the asset editor assigned by default to the DAM Assets? For e.g. When I log into damadmin, any asset I open under Geometrix Outdoors or Geometrix is opened with the default asset editor. If I create any asset in a site for e.g. myWebsite, then the asset is opened via default asset editor. How can I modify that editor or override that editor with a custom one?

    As far as i know asset share and asset editor are form based application which allows to edit/view shared resources available at paths configured in asset shares (in application itself). To edit any of listed resource in asset share you can use "edit metadata" link under "action" in left column after selecting the asset.
    If you want to apply the asset editor globaly on applications you should override it from "/libs/dam/content/asseteditors" to "/apps" (i hope this may work)
    you can also refer http://dev.day.com/docs/en/cq/current/dam/creating_and_configuringdamfinderandasseteditorp ages.html

  • Restrict custom metadata for DAM assets

    Can we restrict custom metadata to appear only for a few DAM assets? For eg, I have assets under two folders, myProject1 and myProject2 in DAM. Suppose I want the custom metadata fields to show up only for the assets under myProject1, can that be done? If yes, how?
    This is with respet to the details in http://wem.help.adobe.com/enterprise/en_US/10-0/wem/dam/how_to_edit_metadata.html

    Hey Sham,
    I have customized the granite interface to have the additional metadata field.
    I have even  overlayed /apps/dam/gui/content/assets/metadataeditor/items/content/col2/image/items to add an additional metadata node , to be present in the granite interface, but i see that it works fine for "projectA", ie. both png and jpeg files have the sample metadata in the granite interface, but the .png files of projects, other than "projectA"  eg geometrixx have the sample metadata field, while the jpg files dont, after using the function: function(f, r, p) { if (p.indexOf("/content/dam/project/providers") != 0) { f.hide(); } return true;.
    Kindly suggest where i have gone wrong.
    Regards,
    NZ

  • Query for Report Asset By Location

    Dear All,
    I want to record asset using add on SAP. I want to make a query report that show asset per location. I'm using field U_User01 to record location of FA. The report will contain Code of FA, Name of FA, location, Acquisition value, Accum Depr and Net book value. This report will be made per period.
    Is there any one can help me to make the query ?
    Thanks a lot for your help

    Hai..is there anyone that can help me to solve this problem ? Thanks for the help

  • Register brand based metadata for DAM assets

    Hi,
         I am trying to create new metadata property for DAM assets specific to our application. I follow the procedure stated in the below link.
         http://dev.day.com/docs/en/cq/current/dam/how_to_edit_metadata.html#Creating%20New%20Metad ata%20Property%20for%20Assets
         But the procedure talks about adding metadata which will become applicable for all assets. Hence, double clicking on any DAM image will show all metadata added as above.
         But as per our requirement, the metadata set must be different for different brands (different folders) inside the same dam. So, when clicking on a image in folder1, the metadata edit page should show metadata specific to that folder1 and when image in folder2 is clicked, the metadata edit page should show metadata specific to folder2.
         Any pointers to achieve this will be very helpful. Thanks in advance.

    Just a guess but you might have to change /libs/cq/ui/widgets/source/widgets/wcm/DamAdmin.Actions.js and then replace
    var json = CQ.HTTP.eval("/libs/dam/content/asseteditors/asseteditor.overlay.infinity.json" + suffix);
                if (!json.formItems) {
                    json.formItems = CQ.HTTP.eval("/libs/dam/content/asseteditors/formitems.overlay.infinity.json" + suffix);
    With your own servlet JSON response based on current path and then render mentadata you want to render.
    If your requirnment is just persisting certain metadata based on current path and not edit it from UI, then change DAM Update Asset workflow and add additonal step after metadata extraction to do this.
    Yogesh
    www.wemblog.com

  • Report on DAM Assets

    How can you generate a report on tags associated with assets in the DAM?
    I'd like to get a list o asstes with all their associated tags.

    I think you posted this to the wrong forum. This forum is about Digital Publishing Suite, not asset management. Did you mean to post in the InDesign forum instead?
    Neil

  • Retrieving size of DAM Asset

    I'm trying to get the size (in this case it's 30 KB but it could be whatever) of an asset from the CQ5 DAM. I've written code like this below that gives me the title
    Resource rsc = resourceResolver.getResource(damLink +"/jcr:content/metadata");
                if (rsc != null)
                    ValueMap damVmap = ResourceUtil.getValueMap(rsc);
                    String title = damVmap.get("dc:title", "");
    But I can't seem to find the size stored in either the asset itself, its jcr:content, metadata, or rendition. Am I missing something or does CQ5 not support this? Thanks in advance for your help!

    File size will vary based on the asset renditions. There is a getSize() api call on the com.day.cq.dam.api.Rendition Object. See documentation here: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/dam/api/Rendition.html#getSize()

  • Asset master location

    Dear Expert,
    Please suggest for below mention scenario.
    client sends Kit (Asset) to different Customer in different location. The property remains with client and depreciation is calculated.
    We need to capture the address of location where the Kit (Asset) has been installed and transfer details for particular asset.
    Please suggest with assumption that MM module implemented (Plant & Location) or without MM module (Evaluation group).
    Regards,
    Sisir.

    Hi
    Not sure what table T499s is coz i dont have system to check
    One method to update table is go to t.code SE12enter table namedisplay-menubarutilities-table contentscreate entries--new entries-enter the relevant entry--save and exit
    Try posting again
    Assign points if useful
    Regards
    Aravind

  • Extending DAM Asset Editor formitems and grouping new fields into a widgetcollection

    Hi,
    I'm a newbie so be kind pretty please...
    We have a requirement for one of the websites hosted on our CQ instance to have some extended DAM properties for PDF files.
    Eg. Summary (textfield) and Search Weighting (selection)
    We have added a new namespace with our new items/properties underneath:
         /apps/dam/option/metadata/edexcel
    We’ve also extended the pdf asset editor by adding the new fields to formitems under:
         /apps/dam/content/asseteditors/application/pdf/formitems
    And we are getting the expected result in DAM editor in that when we choose to open a PDF we have new fields to edit our new properties.
    We have also been able to prove that using group permissions we can tailor it so that only specific website authors see these extended PDF fields; essentially making the extension local to an individual website.
    The issue we are having is trying to assign group permissions so that we can deploy and maintain these in the best possible way. What we are trying to do is group these new fields in formitems into a widgetcollection so that we can assign the permissions we need at one widgetcollection level rather than needing to assign at individual field level.
    I have tried creating a widgetcollection under formitems and adding my new fields within and this works ok up until the point when I try to assign read permission at the widgetcollection level. Then what happens is I can no longer ‘open’ a PDF at all.
    Is there a way that we can do this? Can you suggest any alternative solutions please?
    Many thanks in advance
    Claire

    Thank you jorg, so you say by applying ACL and deny read access for project B, and if Dam folder is Overlayed under  apps such as apps/dam, I can restrict modified version of DAM for project B thereby ProjectB using the foundation Dam and have modified version of dam for project A? Please correct me if I am wrong, since I have the jsp's such as child asset and metadata editor jsp modified after being overlayed.
    Regards,
    NZ

  • DAM Asset Editor Issue

    Hi All,
    I am facing one issue regarding the asset editor in cq 5.5 sp2.
    When I open image by browsing through the folders in DAM every thing works fine. It shows all the data below the image and image type , Publish to Scene7 link as well.
    When I open the same image by searching it wont show image type and publish to scene7 link.
    Problem here is for the same image it shows different views when we open it in different ways. Internally if the image type is not coming then it will take default asset editor(instead of jpeg asset editor) because of this  some of the metadata changes (custom metadta cahnges which we need) in the center page are not showing up when we open the image by searching.
    Thanks,
    Maruthi

    I've been struggling with this same issue on the same platform (5.5 sp2). Here is what I know so far:
    When you are browsing the DAM tree under the Digital Assets tab and open a jpg, then the asset editor retrieves a list of image-specific fields from /apps/dam/content/asseteditors/image/jpeg/formitems .
    When you use the DAM Search tab to find the jpg, then the asset editor retrieves the list of generic fields from /apps/dam/content/asseteditors/formitems .
    This issue also affects PDFs. The Digital Assets tab will use the pdf-specifc fields from  /apps/dam/content/asseteditors/application/pdf/formitems but the Search tab will use the generic fields from /apps/dam/content/asseteditors/formitems .
    In other words, the DAM Search widget isn't loading the desired fields into the asset editor. You can force the asset editor to load the correct fields by refreshing your entire browser. I may try to patch this by overlaying the DAM Search widget if I can find it.

  • Adding new metadata in DAM asset editor

    Hi All,
    I have a requirement wherein two projects reside on same instance, apps/ProjectA and apps/ProjectB . Now Project A has DAM customized, ie. a new metadata added and hence files,  /apps/dam/content/asseteditors/formitems and folders with files under  /apps/dam/gui/components have been modified to take care of creation of new metadata. Now my question is, Is it possible to have such DAM changes constrained to projectA alone, and Project B using default DAM?
    Is it possible to overlay DAM inside the apps/ProjectA alone?
    Kindly let me know.
    Regards,
    NZ

    Thank you jorg, so you say by applying ACL and deny read access for project B, and if Dam folder is Overlayed under  apps such as apps/dam, I can restrict modified version of DAM for project B thereby ProjectB using the foundation Dam and have modified version of dam for project A? Please correct me if I am wrong, since I have the jsp's such as child asset and metadata editor jsp modified after being overlayed.
    Regards,
    NZ

  • Where are config.py type scripts located for 11g?

    Not sure if this is the right forum, but I just installed OEPE which includes the WLS 10.3 server, and I can't seem to find the config.py and config.properties scripts used to build servers. Where are these located now or what do I need to install? Using the package: oepe (dash) helios (dash) installer (dash) 11.1.1.7.0.201101271036-win32.exe.

    Yes, correct, I am trying to set up a new domain. So it looks like there might be a different process than the old config.py? This is the error I get:
    C:\Oracle\Middleware\wlserver_10.3\common\bin>java weblogic.WLST config.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Problem invoking WLST - java.io.FileNotFoundException: C:\Oracle\Middleware\wlserver_10.3\common\bin\config.py (The system cannot find the file specif
    ied)
    C:\Oracle\Middleware\wlserver_10.3\common\bin>

  • Default After Effects script location

    Afternoon,
    Does anybody know of a way that you can change the default location After Effects will look to on startup to find scripts?
    What I would like to do is have a scripts folder on the network that all workstations in the studio all use to load scripts on startup. It would make things a lot easier to maintain parity across our workstations and renderfarm.
    I'm sure there is a messy way to do it with aliases and / or custom startup scripts, but wanted to check to see if After Effects could handle it by itself.
    Thanks

    What's messy about aliases? If you jsut put an alias in the default folder that points to your custom folder, everything works fine. I do this for plug-ins and scripts so that I can use the same extensions across multiple versions of the application.

Maybe you are looking for