Tag: #powerappsportal

{Power Apps Portal}how to make Section title as a hyperlink in Entity form

Hello Reader,

Hope you are enjoying festive season these days.

Whenever we click on the lookup field it opens up the record whereas it wasn’t performed the same functionality in the CRM portal. Therefore, this is the objective to achieve.

Let’s get started without any further delay.

For example, I have Entity Form A and having lookup of entity B and want to open up a Entity form of B Entity on click of section header.

Finance Information should be Clickable and navigate to Entity Form of entity B

Step1: Inspect the element by pressing F12 and get the tag to enhance it.

Step2: Select the element in code and replace the tag with hyperlink tag(Please refer the below code) and place the code in additional settings under the ready function in Entity Form A and save it.

If you do wonder that how to get the Entity form url then please refer the note below.

Note: Entity Form URL=[rootWebSite]/_portal/modal-form-template-path/[portalId]?id=[recordId]&entityformid=[entityFormId]

$(document).ready(function () 
{
$("legend:contains(Finance Information)").replaceWith("<legend class='section-title'><a onclick='onSectionTitle()'>Finance Information</a></legend>");
});
function onSectionTitle()
{
window.open("[rootWebSite]/_portal/modal-form-template-path/[portalId]?id=[recordId]&entityformid=[entityFormId]");
}

Please pass portalId, recordId and entityFormId as per your environment.

Step 3: Clear the cache see the final result as below.

Finance Information has become clickable and will open Entity form

Hope it helps.

May the Dynamics power be with you.

[Power Apps Portals]Change Portal Search Banner

When we start to implement the client requirement in order to match the customer’s branding,the primary requirement is to the change the out-of-the-box search banner.

In this article, I am going to show you how to change the search portal banner in the few steps.

Before we start, you might have look at it –

Let gets started and please follow the steps as below:

Step 1: Navigate to Portal Management

Step 2: Go to the “Web Files” and look for “searchhero.jpg” record.

Step 3: Replace the Notes Attachment with the new search banner image.

Step 4: Clear Cache /_services/about or else Restart the portal and Press the Ctrl+F5 and visualize your change.

for Portal Banner, you can follow the same steps as above and by replacing the image, Notes’s GUID will remain same which will not cause an error during portal deployment.

Hope it helps!

May the dynamics power be with you.