Relocation User Properties
The following table shows the user properties set on the list applet that determine the relocation behavior.
Applet User Property |
Description |
---|---|
Enable Drag And Drop |
Set this user property to Y or N. The default is N. |
Calendar Default Action |
Set this user property to:
|
Calendar UpdateTime Field |
If Calendar Default Action is UpdateTime, then set this user property to the time field in the source applet that you want to have updated by the relocation action. For example, in the Pharma application (Pharma Calendar Activity List Applet), this user property is set to Planned. |
Calendar Drag Field, Calendar Drag Field1, Calendar Drag Field2, Calendar Drag Field3 ... Calendar Drag Field n |
If Calendar Default Action is NewRecord, then set these user properties to copy data from the source record to the new calendar activity (target) record. The format for these user properties follows: Source_field_name,Target_field_name For example, to copy content from a field named Summary in the source record to the Description field in the calendar activity record, the Calendar Drag Field is Summary,Description. |
Calendar Drag Associate |
If Calendar Default Action is NewRecord, then set this user property to Y if you want to have the source records associated with the new (target) record. The relocated records become child records of the new calendar activity record. |
Calendar Drag Child Associate Field |
If Calendar Drag Associate is Y, then set this user property to the name of the field in the source records that is to associate them with the new calendar activity record. The field specified gets populated with the row ID of the new calendar activity record. |
Calendar Drag Method |
If the default calendar action does not meet your needs, then set this user property to your own method name to control the relocation action. If this user property is set, then the preceding user properties are ignored. For example, in the Consumer Sector application, this user property is set to the Drag And Drop Handler method. |
Calendar Drag BusComp |
If a method is supplied in the Calendar Drag Method user property, then set this user property to the name of the business component on which you want to invoke the method. If this user property is not specified, then the method is invoked on the current business component. For example, in the Consumer Sector application, this user property is set to the In Store Visit business component. |
Calendar Drag BusObj |
If a business component is supplied in the Calendar Drag BusComp user property, then set this user property to the name of the business object to use when retrieving the Calendar Drag BusComp business component. If this user property is not specified, then the current business object is used. However, it is better to specify a value for this business object, even if it is the same as the current business object. This setting makes sure that instantiating the Calendar Drag BusComp business component does not affect other business components within the current view. For example, in the Consumer Sector application, this user property is set to the In Store Visit business object. |