• Brian Nørremark
  • 0 Points
  • Member since 2019

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 1
Hi all,
I created a custom button in Classic by hand:
User-added image
It shows in Metadata API just fine.
User-added image
Replicating the same thing with Metadata API (with help from IntelliJ + Illuminated Cloud) with:
<?xml version="1.0" encoding="UTF-8"?>
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
Then the deployment goes fine, but the button is "nowhere" to be seen.
However, with a bit of SOQL, it turns out that it is there, but on the wrong type.

User-added imageAny ideas on how to fix this?

Publish an Article
Create and publish your first knowledge base article.

Create a Knowledge type article
Title: My First Knowledge Article
URL: My-First-Knowledge-Article
Channel: Internal
Publish the article

Error is following...

"There was an unhandled exception. Please reference ID: GXDUIIXP. Error: Faraday::ClientError. Message: INVALID_TYPE: SELECT Title FROM Knowledge__kav Where PublishStatus ^ ERROR at Row:1:Column:19 sObject type 'Knowledge__kav' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names."