Print  
Gray star Gray star Gray star Gray star Gray star --Not rated--
141 Visits 3 Comments
Created
Jeremie B Leblanc Jeremie B Leblanc
Modified by
Jeremie B Leblanc Jeremie B Leblanc
Mar 21, 2011 5:13 PM
Kablink Component
  • Teaming

Hi,

 

I sucessfully secure some fields in my custom form using security in the workflow of the form.

Problem is, I can't secure my fields until the workflow is started.

Is there a way to secure them a the creation of the entry.

 

The zonewithsecurity image is the zone after the workflow is started.

The zonewithoutsecurity image is the zone at the creation of the entry.

 

Thanks

Workflow
Process State Action
Discussion workflow Active
This entry is currently active
Attachments(2)
Entry History
File Versions
Tags
 
  File Name Version Status Date Size Modified by Actions Edit
zonewithoutsecurity.bmp V1.0
Mar 21, 2011  5:10 PM 800KB Jeremie B Leblanc  
zonewithsecurity.bmp V1.0
Mar 21, 2011  5:10 PM 650KB Jeremie B Leblanc  
Replies
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

If you use the folder "configure" command, you can associate your workflow with the entry type. This causes the workflow to be started as soon as the entry is created. That should eliminate the time that the entry is not running a workflow.

Also, in the next release (which is now in beta), I have added the ability to not show certain fields when an entry is in specified states. You could also use this approach to hide fields. I believe the beta for Kablink is just being posted early this week.

Thumbnail Image
Jeremie B Leblanc Jeremie B Leblanc

Ok,

 

I understand what you mean, but this, I already did it.

What I really want is to secure my fields during the creation or before the entry is created.

Is there a way to do this.

 

Thanks

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

Ok, I see what you want. You can easily do this by making a couple of custom jsps. You can take the current jsps that support select boxes or text boxes and copy them. Then change them to detect whether the entry exists or not. When it doesn't exist, show the "secured" version. You can tell if the entry doesn't exist yet using the following jstl:

<c:if test="${empty ssEntry}">

... the entry doesn't exist yet

</c:if>

Skip Footer Toolbar