Webtop Import Customization

View: New views
3 Messages — Rating Filter:   Alert me  

Webtop Import Customization

by shinde_av-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I need help in a webtop customization:

We have an custom repeating attribute author_s (mandatory) which get
value from a query in value assistance (user can select a value  
from the list of users shown)

When we create a new custom document the author_s is automatically
set to current login user(by code in TBO created for that custom
object type)

At present our import function is customized so that after
fileselection.jsp ,  in importContent.jsp the custom object types
are displayed to select object type of imported document.

Also custom attributes are displayed on this screen.

Now the author_s here just displays an * and a list to choose
from.              author_s :   EDIT *

I want to set the author to show default value of current login user
on importContent.jsp (Also user can choose from list which is
present due to value assistance)

Can anyone give any Suggestions.



 



Re: Webtop Import Customization

by Sasa Vasiljevic-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
TBO customization will not make the thing you need in this case,
since in import time object is not yet created and values from TBO
will be filled after you press OK on import dialog. Hence the only
possibility is to make webtop (WDK) customization of Import
component. Have a look at the parameter "defaultAttributesValues" for
Import component

Regards
ingbabic

--- In documentum-users@..., "shinde_av"
<archana.mohite@...> wrote:
>
> Hi,
>
> I need help in a webtop customization:
>
> We have an custom repeating attribute author_s (mandatory) which
get

> value from a query in value assistance (user can select a value  
> from the list of users shown)
>
> When we create a new custom document the author_s is automatically
> set to current login user(by code in TBO created for that custom
> object type)
>
> At present our import function is customized so that after
> fileselection.jsp ,  in importContent.jsp the custom object types
> are displayed to select object type of imported document.
>
> Also custom attributes are displayed on this screen.
>
> Now the author_s here just displays an * and a list to choose
> from.              author_s :   EDIT *
>
> I want to set the author to show default value of current login
user
> on importContent.jsp (Also user can choose from list which is
> present due to value assistance)
>
> Can anyone give any Suggestions.
>



Re: Re: Webtop Import Customization

by raghuram ponugoti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For Import customization which you have asked for, you got to do it using onCOntrolInitialized method.
 
Look in forums for the code snippet for onControlIntialized.
 
You can get the control of authors_s attribute and populate your value there
 
Raghu

--- On Mon, 6/30/08, ingbabic <ingbabic@...> wrote:

From: ingbabic <ingbabic@...>
Subject: [documentum-users] Re: Webtop Import Customization
To: documentum-users@...
Date: Monday, June 30, 2008, 2:26 AM






Hi
TBO customization will not make the thing you need in this case,
since in import time object is not yet created and values from TBO
will be filled after you press OK on import dialog. Hence the only
possibility is to make webtop (WDK) customization of Import
component. Have a look at the parameter "defaultAttributesV alues" for
Import component

Regards
ingbabic

--- In documentum-users@ yahoogroups. com, "shinde_av"
<archana.mohite@ ...> wrote:
>
> Hi,
>
> I need help in a webtop customization:
>
> We have an custom repeating attribute author_s (mandatory) which
get

> value from a query in value assistance (user can select a value
> from the list of users shown)
>
> When we create a new custom document the author_s is automatically
> set to current login user(by code in TBO created for that custom
> object type)
>
> At present our import function is customized so that after
> fileselection. jsp , in importContent. jsp the custom object types
> are displayed to select object type of imported document.
>
> Also custom attributes are displayed on this screen.
>
> Now the author_s here just displays an * and a list to choose
> from. author_s : EDIT *
>
> I want to set the author to show default value of current login
user
> on importContent. jsp (Also user can choose from list which is
> present due to value assistance)
>
> Can anyone give any Suggestions.
>

 














     
LightInTheBox - Buy quality products at wholesale price