Skip to main content

Posts

D365 Add search criteria field into lookup field.

 If you want to add a search field into the lookup view you will not able to add the add option.  In this case, you need to add the field into Quick Find View it will take the impact of another view For my case, I was using Product Lookup view into lookup view 

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 $('...

d365 portal How can I redirect to login page if not logged in

 Go to your form select Authentication Required Yes. In my case, I was using the Advance form.

d365 portal set browser tab title

 d365 portal browser tab title is the combination of 2 titles.  If you want to set the title portal for  every page like: Student Portal Class Portal  then you need to set the value into Browser Title Suffix If you do not want to use this text just remove it. For each page, title Go to your web page-> localized content->select the content page->change the title.

d365 portal form field set as hidden field.

 If you want to use the form field as a hidden field into the form you can use this. $(document).ready(function(){ $('#std_name').val(''); $('#std_name_label').hide(); $('#std_name').hide(); $('<input>', { type: 'hidden', id: 'std_name', name: 'std_name', value: '' }).appendTo('form'); }); At any event, you can set the value that will behave life form field.