Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Prefill the search fields in worklist

$
0
0

Hello, experts.
I have a requirement to have the values for posting date prefilled with today's date and the date of seventh day before today.

Date.jpg

That sound a lot like Javascript. I have enhanced a component CRM_BT_TRANSINB and its SearchViev, and inserted the following code in the SearchViev.htm:


<script type=“text/javascript“>

$(document).ready(function(){

$("C18_W54_V55_V56_search_PARAMETERS[6].VALUE2").val("14.03.2016");

$("C18_W54_V55_V56_search_PARAMETERS[6].VALUE1").val("07.03.2016");

});

</script>

 

The IDs and the dates are hard-coded just to test this functionality.
This, however, did not have any effect. Is something else necessary to use Javascript in a BSP component? Any help would be appreciated.
Thanks,
Borys


Viewing all articles
Browse latest Browse all 3184

Trending Articles



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