Top Banner

of 10

Custom Text Type in View

Mar 08, 2016

Download

Documents

Swati Jain

CRM Custom text type
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

CRM 7.0 :Adding Custom Text Type on Web UI ViewIn this blog I will explain about Adding Custom Text Type on Web UI View for Business Transaction.This blog will touch all the topics covered so far starting from Customization and Component Enhancement.Step 1: "Z" Text Created and Added under Text Determination (Check customization in "Text Management").Step 2: Text is visible In Note for Transaction Type.Step 3: Extend BT Model for "Z" Text Type

Create New Entry Selecting Source Object "BTTextH" and Relation Name "Your Custom Text Type" (find from F4 Help of Relation Name).

BT Model Get Extended

Step 4: Example of Enhanceing Standard Component for Adding Text On View.Create Custom Controller

Bind BTADMINH to Component Controller BTADMINH.

Enhance View Set to Add Text on Veiw

Create Node "BTZTEXT"

Generate Getter Setter for "STRUCT.CONC_LINES"in Get method set " value = ' ' ".Add code on .htm of view set.

collection_wrapper->get_current( ). lv_process_type = lr_BTADMINH->get_property_as_string( 'PROCESS_TYPE' ).

if lv_process_type = 'ZTST ' %>

ENDIF.

Output of ZText Block Added on View