cancel
Showing results for 
Search instead for 
Did you mean: 

Template question.

aleks_sh
Champ in-the-making
Champ in-the-making
Hi, All
I want to create template to notify Share users about new posts.
At subject I am writing(for example): “A new post added to blog of Site ${site.shortName}”
At body:  “New message was added by ${person.properties.lastName}.You can see it: http://myserver.mydomain:8080/share/page/site/${site.shortName}/blog-postlist." 

But alfresco don’t know about ${site.shortName}. I tried various  variants (${site.name},${site.url},${site.properties.shortName} and etc.) without success.
So question:  Is there info about parameters I can use in template?

Sorry for my poor English
Thanks for any advice.
1 REPLY 1

mikeh
Star Contributor
Star Contributor
The Explorer client knows nothing about Share sites.

What you'll have to do is look at where the new post has been created, then walk up the path and generate the siteId from the container name just before you get the Sites (st:sites) space.

Thanks,
Mike