0

Hi every one I have a two articles: Offer__kav and Offer_order__kav.

How to Query This Two Objects Related All Fields.

For Ex: I tried :

List<List<SObject>> search_results = [FIND 'SFDC' RETURNING Offer__kav(Title), Offer_order__kav(Title,)]; 
1
  • Hi Khushboo Dua, THank you, i need to add Multiple Articles dynamically How?
    – ali
    Aug 10, 2018 at 13:17

1 Answer 1

0

You can use this below query, Its working fine.

List<List<Sobject>> search_results = [FIND 'How is BB' RETURNING Test1__kav (Id,Article1__c),Test2__kav(Id, KnowledgeArticleId)];
1
  • Hi @magi 001, would you mind providing minimal explanation to your code so others may better understand your answer? (Its working fine doesnt really help others learnf from your post) please take a moment to review How to Answer, very much appreciated!
    – glls
    Aug 10, 2018 at 14:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .