Skip to main content

Posts

Showing posts from December, 2021

Add additional text into D365 portal label

 If we want to add additional label value to the D365 portal we can use this approach $(document).ready(function (){ var currentLabel = $("label#std_data_storage_confirmation_label").html(); var labelWithDatenSchutzLink = currentLabel + " <a href='https://www.fedalic.de/' class='fedalic-blue' target='_blank' >Datenschutz</a>"; $("label#std_data_storage_confirmation_label").html(labelWithDatenSchutzLink); }); 65 

Rich Text Field are showing in plain text with html tags in Dynamics 365 Portals

 In my D365 form, I have some fields that contains HTML tags. like link. When I show this form into the portal I can see the tag. which is not expecting.  i use the following javascript $(document).ready(function(){ // Set the value into tem variable var std_footer_presave = $('#std_footer').val(); //Remove HTML tag $("#std_footer").parent().append("<span class='text'>" + $("#std_footer").val()+ "</span>"); $("#std_footer").remove(); // Form validation for next button or save button window.webFormClientValidate = function () { // Create hidden field $('#std_footer').val(''); $('#std_footer').hide(); $('<input>', { type: 'hidden', id: 'std_footer', name: 'std_footer', value: '' }).appendTo('form'); // Set value into hidden field $('