2 Replies Latest reply: May 28, 2013 7:35 AM by JoeScanlon RSS

    Few Templates are not getting synchronised to eclipse workspace

    PratushA
      Hi,

      I have created a new site.But when I synchronize the sites with my workspace, few templates are not getting copied to cs_workspace\src\jsp\cs_deployed\<asset> folder.But the template is seen in shared/elements /<asset> folder.

      Thanks
        • 1. Re: Few Templates are not getting synchronised to eclipse workspace
          Gerardo Rodriguez
          Hi,
          You always will have the jsp in the folder shared/elements /<asset>. It is independent from the csdt.

          If you try to export just one missing template you will have most information about the sync problem. Could you share here the logs error after the sync problem?

          BR,
          • 2. Re: Few Templates are not getting synchronised to eclipse workspace
            JoeScanlon
            One thing that I have seen (and it has confused some of our developers) is that the template is going to be found in CSDT element view nested under the Site that the template is assigned to - so if you have A site it will be seen under A/assettype/templatename
            but if you have 2 sites (A/B) and the template is shared to BOTH (note: note ALL) it will be found under A/assettype/templatenmae AND B/assettype/templatename --
            NOW for the part that trips folks up: if the template is shared to ALL - it will show up under a NEW node called All Sites so you will find the template under: @All Sites/assettype/templatename but you will NOT find it under the A/B nodes -

            Sharing backstory
            Asset to site mapping is kept in the AssetPublication Table.
            If you look at this table you will see that there is at least one entry per asset in this table (the publication id will be the site that you created the asset in). As you share to specific sites there will be an additional row added with the publication id for each addtional site. If you do a Share to All those rows will be removed and replaced with the 'magic' publication id "0"