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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to change the info log prefix or header?

(0) ShareShare
ReportReport
Posted on by 272

Hi I am working with Dynamics 365 F&O.

I need to change the word Posting in this infolog. (click infolog, I can't insert image here).

I've already tried these links: link1, link2, link3

but it just adds the word to the body of the infolog. The word "Posting" is still there.

Is there anyway I can change the word "Posting"?

I have the same question (0)
  • Miguel Zuniga Profile Picture
    272 on at
    RE: How to change the info log prefix or header?

    Hi Sergei,

    Thank you for pointing out where the prefix is!

    I guess the only option to do is to just add additional info on the infolog itself.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: How to change the info log prefix or header?

    Hi Miguel,

    I guess you are talking about prefix coming from FormLetterService.run.

    I would say that the right way would be to create an extensibility request and ask MS to add a feature to put custom prefix for each posting type.

    If you are posting a project invoice proposal, you can try to add own prefix (via setPrefix function)  in ProjFormLetter.Run (as pre part of CoC method). It will not remove "Posting" but should make you prefix on the top.

  • Miguel Zuniga Profile Picture
    272 on at
    RE: How to change the info log prefix or header?

    Hello Shashanks,

    Thanks for the reply!

    The word Posting is still there.

    pastedimage1589876445694v2.png

    it just added the word "Any label" to the notification, and the header is still  Posting.

  • Suggested answer
    Shashanks Profile Picture
    230 on at
    RE: How to change the info log prefix or header?

    Hi Miguel,

    Have you considered clearing everything on infolog and then adding your messages to the infolog. Like below

    infolog.clear();
    
    returnValue = [0, "Any label"];
    
    InfoLogExtension::showMessagesFromContainer(returnValue);

    Regards,

    Shashank Shekhar

  • Miguel Zuniga Profile Picture
    272 on at
    RE: How to change the info log prefix or header?

    Hello Sukrut,

    I cleared it.

    infoLine = infologLine();
    infolog.clear(infoLine);

    but the word Posting is still there.

  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: How to change the info log prefix or header?

    How did you customized /changed the standard info log ? If you have customized the info log cant you change it where you did modification ?

  • Miguel Zuniga Profile Picture
    272 on at
    RE: How to change the info log prefix or header?

    Hi Blue Wang,

    This is a standard infolog. This is triggered when an invoice proposal is posted.

    I cropped the photo to primarily highlight the word "Posting" in the infolog. What I need to do is override/suppress the word posting in the infolog.

    Yes the infolog being generated is customized by me, but using the same class for posting invoice proposals.

  • Blue Wang Profile Picture
    on at
    RE: How to change the info log prefix or header?

    Hi Miguel,

    Sorry,The picture you shared, we can't see all the information, the information behind the posting is all customized by you?

    71062.PNG

    And the two lines of code you give will not give this message.

  • Miguel Zuniga Profile Picture
    272 on at
    RE: How to change the info log prefix or header?

    Hi Blue Wang,

    My situation is that, all I have is that I know where the info is happening.

    So I tried doing the setprefix before it, but it just adds the word to the infolog body, does not replace the header.

    setPrefix("Proforma");
    
    info(strFmt("%1",projProposalJour.ProposalId));

  • Miguel Zuniga Profile Picture
    272 on at
    RE: How to change the info log prefix or header?

    Hi Blue Wang, thanks for the reply!

    Is this for creating a new notification/infos? Can you elaborate more on how I can apply this to modify existing/standard notifications/infos?

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 708 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 589 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans