TAILIEUCHUNG - Quản lý cấu hình web - part 40

Tham khảo tài liệu 'quản lý cấu hình web - part 40', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Leveraging Alfresco Framework for WCM 4. Choose Execute a script from the available list of actions and click on the Set Values and Add button. Select from the list of available JavaScript files to execute and click on OK. 5. Click on Finish. This will execute the JavaScript and copy the content to the WCM in a specified web project and a specified folder as shown in the following screenshot You can also configure this Execute Script as a rule on the videos folder. For configuring it as a business rule you can follow the same steps as mentioned in the DM to WCM Using Business Rule section. Just choose the Execute a Script action during configuration and as a value. If you configure this rule for Inbound Documents it will automatically copy the videos file to the corresponding destination folder in WCM. Image transformation in WCM Alfresco leverages the power of ImageMagick for image transformations. Refer to Chapter 2 Installation and Configuration for installing ImageMagick. Alfresco JavaScript provides some APIs to perform image transformations. The prerequisite for this is to have ImageMagick installed. The Script node has the APIs mentioned in the following section for image transformation. 372 Download from Wow eBook Chapter 11 Image transformation APIs Alfresco provides the following APIs for image transformations. transformImage is overloaded with different parameters. You can use any of these based on your requirement transformImage string mimetype This will transform an image to a new type specified in mimetype and will return the transformed image node if successful or null if failed. transformImage string mimetype string options This will transform an image to a new type specified in mimetype by applying the supplied ImageMagick options and will return the transformed image node if successful or null if failed. transformImage string mimetype ScriptNode destination This will transform an image to a new

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.