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 Service forum

Are we able to modify the height of the add Notes fields section in the Social Pane

(0) ShareShare
ReportReport
Posted on by 390

Hi,

we have a request from the users to increase the size of the Add Notes field in the Social Pane

2019_2D00_09_2D00_19_5F00_10h33_5F00_09.png

I know we are not able to modify the form, but can this be done with JS or CSS?

thanks for the help

//Martin

Categories:
I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Martin,

    Firsyly it seems that we need to wait a bit time for Timeline tab being loaded,

    and the Note textarea element will only be generated after we clicked Enter a note input field, (there is also a delay before the Note textarea element being generated)

    Thus I create two timer to wait for Timeline tab being loaded on form and Note field being generated, then I check if the Enter a note element is clicked,

    after it has been clicked, then we wait a seconds for Note element being generated and grab it.

    Obviously, the method works in unspported way.

    function test() {

    var elementIsClicked = false; // declare the variable that tracks the state

    function clickHandler() { // declare a function that updates the state
    elementIsClicked = true;
    if (elementIsClicked) {
    setTimeout(function() {
    parent.document.getElementById('create_note_notesText').style.height = '200px';
    }, 1500);
    }
    }

    setTimeout(function() {
    // Create a timer for Enter a note element being loaded
    var element = parent.document.getElementById('create_note_placeholder'); // grab the Enter a note element
    element.addEventListener('click', clickHandler);
    }, 2000);

    }

    x001.PNG

    Regards,

    Clofly

  • icimasa Profile Picture
    390 on at

    Hi Clofly,

    thanks for the quick reply and help on this, and I'm fully aware of the unsupported way and I will surly give this a try and let you know how it works out for us..

    thanks.. :)

    regards

    Martin

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans