• Manju Niranjulaa
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
My Goal:
I want to display a Knowledge Article selected from the Trending Articles list on the Home page or the Article Detail page in the Help Center Communities template.

The reason for this is that there is no simple way to display only the desired fields for a Knowledge Article. The Page Layout limitations causes undesirable fields to be display in the communities site (as many others attest with the same issue).

A Lightning Web Component will give me the control I am looking for, so I can display only the standard and custom fields I want to see.

Given this:
I understand that the Knowledge__kav object will let me access meta-data, while the KnowledgeArticleVersion object will allow me to get the Published Version object field data. I don't know how to access these together in an LWC. I have almost been able to do this using aan Apex class that returns the results of a SOQL query, but I only get the same record over an over again - its not reactive.

Realizing the Knowledge object is a strange animal, How can I achieve the above goal using a Lightning Web Component? I'm looking for the best practice for achieving my goal above?

Has anyone else done this using a LWC?

If someone can provide guidance on this, it would be most helpful.

There is no documentation or examples regarding the use of LWC to access the Knowledge object. All of them are simple Accounts or Contacts, and these standard objects do not work the same way as Knowledge objects.

I have been able to achieve (sort of) the above with an Aura component, but I feel like I should be able to do this with LWC.

In my prior attempts, I can use LWC code for Accounts or Contacts sucessfully, but whe n modified for Knowledge, it displays nothing.  I'm working with Salesforce support, but even they appear to be stymied by this.

Cna anyone provide some guidance?
I am stuck at step 5 of automation superbadge:  new Opportunity with a 'Prospecting' stage for a 'Prospect' Account did not successfully create a Task for the Account owner with the Subject 'Send Marketing Materials'. I am checking for nullvalues in trigger and set up correct fields I guess. Hard to figure out what the problem is as the screen error is very generic. BTW I am 1 week new to SF, but manage to clear hurdles till now. I am spinning my wheels for 2 days now with this problem. Any help much appreciated !
Trigger conditions
Task fields