what about removing unnecessary items from dropdown on the fly? It is not secure, some "hacker" can easily trick the system and add attach, but for Intranet and loyal employees it should work. :)
In SBM TeamTrack, how do we restrict actions depending on where a person is in the workflow?
I need to be able to restrict Adding/editing attachments based on where the person is in the workflow. Is that possible? if so, how?
Yep, you'll have to add TTScript call to all templates where action dropdown is shown and should be "fixed". But in TT 6.1 this dropdown is loaded in separate frame with all transition buttons, called like formbuttons.
Here is link with small example adding code to template: http://bit.ly/fmufWC
In your case you'll have to do following:
- create TTScript(ModifyActionDropdownForUser)
Dim vbCr , vbLf , vbCrLf , vbEol , vbQuote , vbSingleQuote , vbHtmlNewLine
vbCr = Chr(13)
vbLf = Chr(10)
vbCrLf = vbCr & vbLf
vbEol = "<BR>" + vbCrLf
vbHtmlNewLine = "<BR>" + vbCrLf
vbQuote = Chr(34)
vbSingleQuote = Chr(39)
Call Ext.WriteStream("//ModifyActionDropdownForUser" & vbCrLf )
Call Ext.WriteStream("alert('Hello World. Here we have to add code for modifying Action DropDown.');")