Changing the page layout of Knowledge v3 article page? (Modifying footer)

dhoffman
Tera Contributor

We're on Fuji and Knowledge Management v3.   We'd like to remove the "Authored by [author name]" section from being displayed in the article.

I found a UI Macro called kb_view_common_footer that has a section:

      <div id="articleAuthor" class="snc-article-footer-metadata-published" style="display: block;padding-top: 5px">
    ${gs.getMessage('Authored by {0}', authorName)}
    </div>

I'm thinking that's where it lies; however, I'd like to preserve the out-of-box UI Macro so that it gets automatically upgraded and create a new UI macro with the author information removed from the footer.

The question is:   Where is the "kb_view_common_footer" referred to begin with?   Is the entire article itself a UI Page that itself calls on a bunch of UI Macros with Jelly code?

6 REPLIES 6

Hi Slava,



Thanks for the great tip. Should this 'update_exempt' in the attributes field of Name field of the UI Macro table be added, just like that: 'update_exempt'?



Thanks in advance,


Rilinda


There are two possibilities: You can either enter update_exempt=true into Attributes field (only present in Advance view) and separate it with a comma from any other attributes OR add a record into Attributes related list at the bottom of the page (present in both views) with 'Update exempt' as Attribute and   true as Value. The above mentioned text field and related list are in sync, so whatever path you take, the attribute will show up in both places as soon as you save the record.



update_exempt.png



For more information on dictionary attributes and how to deal with them, refer to the following Wiki article:


Dictionary Attributes - ServiceNow Wiki