web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Portal Time line Display

(0) ShareShare
ReportReport
Posted on by 75

Hi 

I Have got the comments coming up.. But I want to remove the Arrow and the TO field.

pastedimage1585662851196v1.png

Is it possible to do this . 

I have managed to get the Created by - System.  line disappearing via adding a Css style.

Thanks in advance.

I have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    There is no configuration available to do that, you will need to add a JS function in order to hide the arrow

  • bik@inturi Profile Picture
    75 on at

    THank you so much oliver, I want to hide the arrow and the name after that .. IS it possible to know what I need to do. I am not very good at the JS stuff.

    In developers tool the following is what i see ..

    pastedimage1585675339638v1.png

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    I wrote a quick one here, hope it works out, you can place this in the "Custom Javascript" within your Entity Form records

    $(document).ready(function () {
    
            HideArrowElements();
        });
    
        HideArrowElements = function(){
        var arrowElements = $(".glyphicon-arrow-right");
    
        $.each(arrowElements, function(index, arrow){ $(arrow).hide();})
    }

  • bik@inturi Profile Picture
    75 on at

    Hi THank you so much.

    But this has not worked.   BUt I found that if I put a style

    <style>

       .notes .note .glyphicon {

     display: none;

    }

    Then I can get rid of the ->   (Arrow) .. Although the "TO"  wil lstill be an issue .

    The Div     is a combination of FROM -> TO.     I still need to get rid of the To somehow.

    in my example above     -> Zchris Hammond.

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    if you try this in the console what does it show you?

    $(".glyphicon-arrow-right").length;

    this should give the total number of "Arrows" you have

    maybe I have the wrong css class there can you double check that

  • bik@inturi Profile Picture
    75 on at

    You are right  in the console.. I get 5. which is the number of comments hence the total number of arrows.  

    Which is very strange.. because if I put an alert in the fucntion i get 0.

    HideArrowElements = function(){

       var arrowElements = $(".glyphicon-arrow-right");

    alert($(".glyphicon-arrow-right").length);

       alert(arrowElements.length);

       $.each(arrowElements, function(index, arrow){ $(arrow).hide();})

    }

  • oliver.rodrigues Profile Picture
    4,052 on at

    Ok I think I know what might be happening, the timeline element's probably not loaded yet, we need to wait for it to load

    I will do some test here to help you out

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    Very odd, my opinion this code should work:

    $(".entity-timeline").eq(0).on("loaded", HideArrowElements);

    but somehow I can't get it to work here on my environment

    as a non-pretty solution you can have the following:

    setTimeout(HideArrowElements, 3000);

    this will wait 3 seconds until trigger the function, does the job, but ideally you should be looking for the "loaded" event on the timeline element

  • Suggested answer
    Zhgsimon Profile Picture
    20 on at

    This solved it for me.

    https://www.engineeredcode.com/blog/power-apps-portals-customizing-the-rendering-of-notes-and-activities

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/302623/hide-values-on-timeline-in-portals/

    M
    y customization was to change the task icon which was an asterisk * to another icon.

    I only had to add this line of javascript into the Custom javascript of the modify an incident page : 

    $('#notes-template').html( $('#notes-template').html().replace(/glyphicon-asterisk/g, 'glyphicon-ok'));

    if you want more icons go here => https://getbootstrap.com/docs/3.3/components/


    H
    ope that helps you !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans