Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Define font color and text-decoration for hyperlink in SAP CRM

$
0
0

Hi, CRM Gurus

 

In one of the views I need to show the value of specific context node's attribute as hyperlink.

In order to do that I've redefined GET_P_attr( ) method with the following code:


  1. CASE iv_property.
  2.     WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
  3.       rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
  4.     WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
  5.       rv_value ='NAVIGATE_TO_TARGET'.
  6. ENDCASE.

 

Everything is OK and the value of this attribute is really works as hyperlink, but it looks like a regular text and not like a web hyperlink.

I need to make to look this hyperlink in web-browser as default hyperlink, e.g. blue font color and underlined text, something like «example».

 

In CSS I'd write something like:

 

  1. a {color:#1478eb;
  2.      text-decoration:underline;}

 

But how can I achieve the same result in SAP CRM Webclient UI, in BSP?

 

Thanks.


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>