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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Extending .LESS files - Production floor execution

(1) ShareShare
ReportReport
Posted on by 1,203

I have extended the production floor execution form and added a few controls.
The styling is off and i need to add some styling for the controls i have added.
I have created the .LESS files for them, but it doesn't seem to get picked up. 

I assume one of the CSS files in the folder "K:\AosService\PackagesLocalDirectory\ApplicationSuite\WebContent\less" will have the name of my control in there somewhere ?

What could i be missing?

form[data-dyn-form-name="JmgProductionFloorExecutionReportProgress"] {
    div[data-dyn-controlname="MY_CONTROL1_INT"] {
        align-self: center;
        color: greenyellow;
    }
}

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,025 Super User 2025 Season 2 on at

    Hi Shashi,

    Can you explain what exactly you are trying to achieve and why you think you need to extend .LESS files? On what form did you add controls and what do you mean with "styling is off"?

  • Shashi s Profile Picture
    1,203 on at

    On the form "Production Floor Execution", if ou add any controls in the forms (i have done it for a few forms, but this one is referring to Report a finished job, i have added a button control.

    These forms seems to be controlled using a .LESS file, but those less files have no references which is why i was assuming that i could just add my own .Less file controlling the control i added. but the less files needs to get compiled, which im unsure where it goes OR if there are compilation issues with it

    Form being extended: JmgProductionFloorExecutionReportProgress

    LESS file i think is assosicated with it : JmgProductionFloorExecutionReportProgressLESS

  • André Arnaud de Calavon Profile Picture
    301,025 Super User 2025 Season 2 on at

    Hi Shashi,

    Thanks for some clarification here. Can you also explain what you meant with 'styling is off'? Does it mean that the button looks very different compared to other buttons?

  • Shashi s Profile Picture
    1,203 on at

    Yes, to the buttons look different, and input control, looks similar to the standard D365 control, however, because PFE has a blue blackground, the colour of the entire control is the same dark blue with Black text makinmg it unreadable.

    Looking at the standard LESS files, each control in that form has a style associated.

  • André Arnaud de Calavon Profile Picture
    301,025 Super User 2025 Season 2 on at

    Hi Shashi,

    Can you share a screenshot and share how you added the button?

  • @DT Profile Picture
    10 on at

    Hi All,

    I am facing same issue. I have a requirement to have new lookup screen. I tried duplicating JmgProductionFloorExecutionProductionUnitLookup screen, changed name as per PFE customization naming convention, changed name of CardGroup to BusinessCardGroup. It all works fine, except card background color is white unlike standard lookup screens and makes it impossible to read with white text and white background.

    Did you get any solution?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans