Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Make iwmetadata.cgi start with file view form
mia
When, after selecting a number of files, you select "Set Metadata", iwmetadata.cgi generates a form that allows you to set metadata globally, i.e the same metadata for all of the selected files. Clicking the button marked "Switch to File View" gets you to a form with individual inputs for each file.
Is it possible to make iwmetadata.cgi display the "File view" dialogue immediately, thus not giving lazy users the ability to set the same metadata for all files? How does one either disable the global view or at least make file view the default view?
I've thought about solutions such as, for example, hacking the metadatarules.itml to make it automatically switch to file view using Javascript, but it seems to me there should be a better way of achieving what the client thinks he wants. Any suggestions?
Thanks,
Mia
Find more posts tagged with
Comments
mia
Just thought I'd enter the solution here, for reference:
> You can configure default view mode for metadata capture in iw.cfg:
> [iwmetadata_default_mode]
> view=file
> #view=rule
Bill Klish
There is another way to accomplish this as well. Through a workflow cgi task, there is a way to launch the metadata capture GUI by passing in the appropriate parameters, Basically, the user could make a window that appears offering to launch in file view or the combined view with 2 separate links. The task and session ids will need to be in the url along with the mode parameter.
Example:
<H3>Please click the link to apply <A href=iwmetadata.cgi?session=$session&area_path=$area_path&task_id=$task_id&dc_mode=files>metadata</a> to the generated pages</H3>
The variables above are retrieved from the cgi form data that is passed in.