Portal Engine
Version 3.x > Portal Engine > Workflow, approve and publish multi files View modes: 
User avatar
Guest
gary.chan@e-crusade.com - 8/17/2008 11:12:36 PM
   
Workflow, approve and publish multi files
Hi,

1. As per our client's request, is it possible to approve/publish multi files at once instead of going through each in order to save time?

2. if point 1 is impossible, how about global admin has the right to publish a file directly, skipping all other workflow steps? I don't see the point why not having this shortcut as admin can approve all the steps in any case.

3. After I added new css, js files to the site using CMD desk > New > File. In file property, showing these files are not published, also browser returns error 404 if copy and paste the Live URL given. However, seem no where I can check in/out these files for approval/publish. Is there anything I missed?

Thanks

User avatar
Member
Member
gary.chan@e-crusade.com - 8/18/2008 8:31:26 AM
   
RE:Workflow, approve and publish multi files
Hi,

A quick update, in order to keep myself going than waiting for a solution, I changed the scope of my workflow from (all) to page (menu item) only, which ignores the rest of the world, including imported css, js etc

As I said, this is only temp workaround I can think of (we are still in early stage so no heavy development yet, well, not yet), any better suggestion?

Best Regards,
GC

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 8/18/2008 1:54:25 PM
   
RE:Workflow, approve and publish multi files
Hi Gary,

regarding your first post, answer to 1. and 2. is yes, it is possible, however, you will need to make this functionality by yourself, please see our Developers Guide, pages http://www.kentico.com/docs/devguide/workflow_internals.htm and related. There are instructions and examples (especially related to the question 2), which should help you.

As for the 3rd question, the best practice is to place workflow scope only to the documents you want to be workflowed. Please note, that documents created earlier under some workflow scope keep using workflow even when the scope is removed, and that until reaching 'Published' state. Should you need more information, please provide us with more details of your intended goal. Thank you in advance.

Kind Regards,
Zdenek Cetkovsky

User avatar
Member
Member
gary.chan@e-crusade.com - 8/19/2008 1:13:56 AM
   
RE:Workflow, approve and publish multi files
Hi Zdenek,

Thanks, I will check out the examples later.

For the 3rd question, is there any easy way to get uploaded files (such as images, test document etc) go through workflow for approval before they can be reached by public through the live url?

Or same as question 1 and 2, which we have to write the code ourself?

Regards,
GC

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 8/20/2008 4:19:15 AM
   
RE:Workflow, approve and publish multi files
Hi Gary,

please note, that the document of type 'file' could be check-in/-out and (approved/published...) from the CMSDesk in the 'Form' tab only (i.e. the buttons appear only there)
Again, if you want automated or batch workflow step changes there, you will have to write the code using API.

Regards,
Zdenek Cetkovsky

User avatar
Member
Member
gary.chan-e-crusade - 8/21/2008 2:58:21 AM
   
RE:Workflow, approve and publish multi files
hi Zdenek,

Thanks, really appreciate