Mandating "Read Only" for All Attachments in Workspace

Avatar

Avatar
Validate 1
Level 3
JoshDBoyle-DVzR
Level 3

Likes

2 likes

Total Posts

94 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
JoshDBoyle-DVzR
Level 3

Likes

2 likes

Total Posts

94 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
JoshDBoyle-DVzR
Level 3

10-09-2008

All



Given that you can toggle the presence of the attachments window in Workspace from within an Assign Task service's properties, is there a good way to specify that ALL attachments are to be "read only"? Currently, when you add an attachment within Workspace, it allows the user to drop down and select from a list of permissions for that attachment.



What I'm looking for is a good way to ensure that once a user uploads an attachment within Workspace, then it is "read only".



Thanks

Replies

Avatar

10-09-2008

I think you will have to write some custom code for that

let me know if you need any help

I will be more than happy to help you out

thanks

girish

mergeandfuse@gmail.com

Avatar

Avatar
Validate 1
Level 1
Sudheendra_Rao
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Sudheendra_Rao
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Sudheendra_Rao
Level 1

29-05-2009

Hi Girish,

I would like to know what needs to be done (coding or even otherwise) required to make the attachments readonly and also not allow workspace users to be able to delete or add new attachments.

Sudheendra

nidleksrao@yahoo.co.in

Avatar

Avatar
Boost 1
Level 2
waqas_rehman
Level 2

Like

1 like

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
waqas_rehman
Level 2

Like

1 like

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
waqas_rehman
Level 2

29-05-2009

Hi,

In the workflow you have to loop through the attachmentList from the Assign Task operation and set the permission in the document attribute before the next assign task operation.

setDocAttribute(/process_data/attachmentVar[1],"wspermission", "1")

wspermission

A bit mask number that represents the access permissions for the document.

Access permissions determine how the document can be used when it is attached to a task. The value of the number is the sum of the number that represents each access permission provided for the document.

Read access: 1

Write access: 2

Delete access: 4

Valid values are 1, 3, 5, and 7. For example, the value of wspermission for a document with read and write access is 3.

7 (Read, write, and delete access)

For reference check the link: http://livedocs.adobe.com/livecycle/8.2/wb_help/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Workbe...

Regards,

Waqas

Avatar

Avatar
Validate 1
Level 1
Sudheendra_Rao
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Sudheendra_Rao
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Sudheendra_Rao
Level 1

29-05-2009

Thanks a lot ...its working.. 

Avatar

Avatar
Boost 1
Level 2
waqas_rehman
Level 2

Like

1 like

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
waqas_rehman
Level 2

Like

1 like

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
waqas_rehman
Level 2

29-05-2009

Hi,

Please mark the discussion as "Answered".

Regards,

Waqas