SBX - Search With Button

SBX - Forum Post Title

Is there any way we can debug D365 Portals' Web Template code on browser?

Microsoft Dynamics CRM Forum

Priyesh Wagh asked a question on 29 Mar 2017 6:25 AM
My Badges

Question Status

Suggested Answer

Hi,

As Portal Add-On now comes with D365 Plan 1, I created some Page Templates as well as some Web Templates. I have my Liquid Template code inside these Web Templates.

Somehow, my code doesn't seem to run. I wanted to debug if it is going inside a loop, for instance.

How do I check that? How can I debug simply?

Reply
Shahbaaz Ansari responded on 9 Apr 2018 4:01 AM
My Badges

Hi Priyesh,

Did you find the way to debug liquid template code?

thanks,

shahbaaz

Reply
Suggested Answer

Hi,

Currently there is no way to debug the Liquid or Web Template code, though you can debug the JavaScript using Browser Debugger feature (Recommended IE Debugger).

https://blogs.msdn.microsoft.com/crm/2015/11/29/debugging-custom-javascript-code-in-crm-using-browser-developer-tools/

Hope it helps.

Reply
SD_Dev responded on 12 Jun 2019 9:45 PM
My Badges

Thanks Arpit for the suggestion.

But I want to understand if there is a way to debug Liquid template code. What are the best practices in order check values in an object?

Waiting for your reply.

Regards,

SdDev.

Reply
Syed Hanifa responded on 13 Jun 2019 2:19 AM
My Badges
Suggested Answer

Currently no way to debug Liquid code objects.

Reply
Suggested Answer

Hi,

Currently there is no way to debug the Liquid or Web Template code, though you can debug the JavaScript using Browser Debugger feature (Recommended IE Debugger).

https://blogs.msdn.microsoft.com/crm/2015/11/29/debugging-custom-javascript-code-in-crm-using-browser-developer-tools/

Hope it helps.

Reply
Syed Hanifa responded on 13 Jun 2019 2:19 AM
My Badges
Suggested Answer

Currently no way to debug Liquid code objects.

Reply

SBX - Two Col Forum

SBX - Migrated JS