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, ...
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)
  • Blue Wang Profile Picture
    on at

    HI Miguel,

    Can you share your code?
    Because I can't reproduce your problem, everything is fine here.

    84357.PNG

    Please refer this API:

    docs.microsoft.com/.../messaging-api-center-bar-details

  • Miguel Zuniga Profile Picture
    272 on at

    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?

  • Miguel Zuniga Profile Picture
    272 on at

    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));

  • Blue Wang Profile Picture
    on at

    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

    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.

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    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

    Hello Sukrut,

    I cleared it.

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

    but the word Posting is still there.

  • Suggested answer
    Shashanks Profile Picture
    230 on at

    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

    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
    Sergei Minozhenko Profile Picture
    23,093 on at

    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.

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 646 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