Intro to the Alfresco Web Script Framework.pdf

时间:2023-08-10 06:45:16
【文件属性】:

文件名称:Intro to the Alfresco Web Script Framework.pdf

文件大小:992KB

文件格式:PDF

更新时间:2023-08-10 06:45:16

alfresco web script

This article is an introduction to the Alfresco Web Script Framework that became available with release 2.1 of the product. We'll continue to extend the “SomeCo Whitepapers” example started in previous articles. As a quick refresher, in those articles, we extended the out­of­the­box content model so that SomeCo could store custom metadata about one of their document types, whitepapers. We created a custom aspect called rateable that could be attached to any object that was user­rateable. Then, in the custom behavior article we wrote business logic associated with the rateable aspect that knew how to calculate the average user rating for a given piece of content. The calculation was triggered every time a rating was created or deleted. We used server­side JavaScript to create rating objects to test out our behavior but there wasn't an interface available that end users could use to rate whitepapers.


网友评论