Listing few important tags required in any FatWire/Oracle WebCenter Sites project:
1. <ics:geterrno/> or ics.GetErrno - Get error number, if error number is not equal to Zero, something error occured. One can check againt errno description here.
<asset:load name="thisAsset" field="name" value="SomeAssetName"/>
if(ics.GetErrno == 0) success
else print error
2. <ics:LogMsg> or ics.LogMsg - To print any info in logs. Use with <ics:debug> tag.
3. <time:set> and <time:get> - Finding time response for any particular Template/CSElement in milliseconds. Enable logging.cs.time=DEBUG
<time:set name="timeVar"/>
//Call template
<time:get name="timeVar" output="elapsedTime"/>
4. <string:stream> - This tag is important when you want text to be shown as exactly as its saved in database. Useful in case of translated asset as it take cares of all other characters which contains diacrtic for other languages like spanish. Furthermore, this tag can retreive value from both ics variable and IList.
5. <render:stream> - All body or summary attributes which may contain hyperlinks or embedded asset can be rendered properly with use of this tag. Similarly, like <string:stream> tag, it can also take both ics variable and IList tag.
6. <asset:children> - It can find associated assets to an asset without loading the asset.
7. <asset:filterassetsbydate> - Very important tag when you want to show versions of an assets. It acts on basis of end date and start date. Read full details here.
8. <asset:setdimparents>, <asset:getdimparents> and <asset:removedimparents> are bunch of tags to set translation for asset, gets dimensionable asset parents and removes dimensional asset parents respectively.
9. <asset:getassettypeproperties> - Get all the properties related to assets as described here.
10. <asset:getlocale> and <asset:locales> - Get asset locale/s.
11. <asset:getsubtype> - Get subtype (definition) of an asset. Usually used in layout template for dispatching request to correct template.
12. <asset:load>, <asset:get> and <asset:scatter> - Tags related to Basic asset details
13. <assetset:*> - Tags related to Flex asset details
14. <searchstate:*> - Tags related to searching flex assets
15. <asset:revision> and <asset:rollback>: Useful when something goes wrong with batch update/edit and saving assets.
16. <asset:edit>, <asset:checkout>, <asset:save> and <asset:undocheckout> - useful during mass editing and saving assets.
17. <asset:search> and <asset:list> - Tags related to searching basic assets
18. <asset:delete>, <asset:deleterevision> and <asset:void> - Tags related to deleting assets
19. <render:logdep> and <render:unknowndeps> - Tags for generating dependencies.
20. <ics:sql>, <ics:callsql>, <ics:sqlexp> and <ics:selectto> - Tags to get data drom database.
21. <insite:*> - In-context editing tags
22. <ics:getproperty> and <property:get> - Get property from properties files
23. <render:*> and <satellite:*> - Mostly all tags are used to render content. Note: use ics tags if asset is not rendered. For e.g. if your CSElement is just performing some calculation and NOT rendering any data, then use ics:callelement rather than render:callelement.
24. <ics:setssvar>, <ics:getssvar> and <ics:removessvar> - Session related tags
25. <dimensionset:filter> and <dimensionset:filtersingleasset> - Gets translation of asset/s by applying dimensionset filter
26. <listobject:*>, <ics:listget> and <ics:listloop> - List tags
27. <ics:if>, <ics:then> and <ics:else> - Conditional tag. Note: Don't use <ics:if> alone, you always with <ics:then>
28. <render:packargs> and <render:unpackarg> - Send args in form of one string and retreive them later by unpacking them. Usage depends on different situations, check tag library.
29. <satellite:cookie> and <ics:getcookie> - Cookies related tags
30. <vdm:*> and <commercecontext:*> - Engage related tags
31. <siteplan:*> - Tags related to loading siteplan tree
32. <satellite:normalizeurl> - Generates satellite safe url
33. <proxy:*> - Tags related to proxy asset
1. <ics:geterrno/> or ics.GetErrno - Get error number, if error number is not equal to Zero, something error occured. One can check againt errno description here.
<asset:load name="thisAsset" field="name" value="SomeAssetName"/>
if(ics.GetErrno == 0) success
else print error
2. <ics:LogMsg> or ics.LogMsg - To print any info in logs. Use with <ics:debug> tag.
3. <time:set> and <time:get> - Finding time response for any particular Template/CSElement in milliseconds. Enable logging.cs.time=DEBUG
<time:set name="timeVar"/>
//Call template
<time:get name="timeVar" output="elapsedTime"/>
4. <string:stream> - This tag is important when you want text to be shown as exactly as its saved in database. Useful in case of translated asset as it take cares of all other characters which contains diacrtic for other languages like spanish. Furthermore, this tag can retreive value from both ics variable and IList.
5. <render:stream> - All body or summary attributes which may contain hyperlinks or embedded asset can be rendered properly with use of this tag. Similarly, like <string:stream> tag, it can also take both ics variable and IList tag.
6. <asset:children> - It can find associated assets to an asset without loading the asset.
7. <asset:filterassetsbydate> - Very important tag when you want to show versions of an assets. It acts on basis of end date and start date. Read full details here.
8. <asset:setdimparents>, <asset:getdimparents> and <asset:removedimparents> are bunch of tags to set translation for asset, gets dimensionable asset parents and removes dimensional asset parents respectively.
9. <asset:getassettypeproperties> - Get all the properties related to assets as described here.
10. <asset:getlocale> and <asset:locales> - Get asset locale/s.
11. <asset:getsubtype> - Get subtype (definition) of an asset. Usually used in layout template for dispatching request to correct template.
12. <asset:load>, <asset:get> and <asset:scatter> - Tags related to Basic asset details
13. <assetset:*> - Tags related to Flex asset details
14. <searchstate:*> - Tags related to searching flex assets
15. <asset:revision> and <asset:rollback>: Useful when something goes wrong with batch update/edit and saving assets.
16. <asset:edit>, <asset:checkout>, <asset:save> and <asset:undocheckout> - useful during mass editing and saving assets.
17. <asset:search> and <asset:list> - Tags related to searching basic assets
18. <asset:delete>, <asset:deleterevision> and <asset:void> - Tags related to deleting assets
19. <render:logdep> and <render:unknowndeps> - Tags for generating dependencies.
20. <ics:sql>, <ics:callsql>, <ics:sqlexp> and <ics:selectto> - Tags to get data drom database.
21. <insite:*> - In-context editing tags
22. <ics:getproperty> and <property:get> - Get property from properties files
23. <render:*> and <satellite:*> - Mostly all tags are used to render content. Note: use ics tags if asset is not rendered. For e.g. if your CSElement is just performing some calculation and NOT rendering any data, then use ics:callelement rather than render:callelement.
24. <ics:setssvar>, <ics:getssvar> and <ics:removessvar> - Session related tags
25. <dimensionset:filter> and <dimensionset:filtersingleasset> - Gets translation of asset/s by applying dimensionset filter
26. <listobject:*>, <ics:listget> and <ics:listloop> - List tags
27. <ics:if>, <ics:then> and <ics:else> - Conditional tag. Note: Don't use <ics:if> alone, you always with <ics:then>
28. <render:packargs> and <render:unpackarg> - Send args in form of one string and retreive them later by unpacking them. Usage depends on different situations, check tag library.
29. <satellite:cookie> and <ics:getcookie> - Cookies related tags
30. <vdm:*> and <commercecontext:*> - Engage related tags
31. <siteplan:*> - Tags related to loading siteplan tree
32. <satellite:normalizeurl> - Generates satellite safe url
33. <proxy:*> - Tags related to proxy asset
No comments:
Post a Comment