Skip to main content

Posts

D365 portal KB article details customize comment section.

The comment is a set of Microsoft control. If you want to make it customized like width height or change post comment button content you can use CSS and javascript. Goto localized content and in Advance add your javascript or CSS file.

D365 portal payone payment integration

 Recently i implement PAYONE payment using C# https://docs.payone.com/display/public/PLATFORM/PAYONE+Link+-+API I also work with other payment gateway like stripe. During develop this PAYONE solution for portal i realize myself this is no 1 according to their security. PAYONE is a very complex system but i like their sytem. PAYONE works like this steps: 1. Create link Request 2. Notify URL 3. Transaction status 4. Payment cancel request. soon i will try to share some code.  

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.