Apiable

Content

Articles and collections

Publish articles, blog or news style posts, on your API Portal, and group them into named collections. List them on a portal page with the articles collection component. Articles and Collections are each available on plans that include them.

Articles are blog or news style posts you publish on your API Portal. You write them under Content, Articles, and you group them into named collections under Content, Collections. The body is written in a rich-text editor, unlike portal pages and documentation hubs, which use Markdoc.

How do you add an article?

Choose + Add Article. Apiable creates the article straight away, named New Article, published and visible to everyone, and opens its editor. Write it, then choose Save Changes.

  1. Open Content, Articles and choose + Add Article.
  2. The editor opens with the title ready to edit. Type the title. The slug follows the title as you type.
  3. If the article is not ready to go live, switch Published to Unpublished and choose Save Changes now.
  4. Write the body, and fill in the Description, Tags and Featured image if you want them.
  5. Choose Save Changes. When the article is ready, switch it to Published and save again.

A new article is live from the moment it is created, at /content/ followed by its ID, until you save a new slug or unpublish it. It also appears in any articles collection component that lists every article.

What is in the article editor?

A title, a description, a slug, tags, a featured image, and a rich-text body, plus two toggles and Save Changes. With Collections on your plan, a link under the title adds the article to a collection.

Field or controlWhat it does
TitleThe article's title, at the top. Editing it regenerates the slug.
Published / UnpublishedWhether the article's page is live on your portal.
Visible to everyone / Logged in users onlyWhether visitors who are not signed in can read the article.
DescriptionA short summary, shown under the title and in article lists.
SlugThe last part of the article's address. The line under it reads "The URL of the article will be:" and shows the full address.
TagsLabels you pick or create in Select tags....
Featured imageAn image shown on the article's page and on its card. Upload one, or choose Select from Image Repository.
BodyThe article content, in the rich-text editor.
Add to an collectionOpens the collection picker. Once the article belongs to one, the link reads "Belongs to name collection".

If you leave the editor with unsaved changes, a dialog asks Do you want to save?

How do you set who can see an article?

With the visibility toggle in the editor. Visible to everyone lets any visitor read the article. Logged in users only shows it only to signed-in users, and visitors who are not signed in get a not-found page. Choose Save Changes after you switch it.

Published decides whether the article's page is live at all. Visibility then decides who can read a published article.

How do you create a collection and add articles to it?

Create the collection under Content, Collections, then add each article to it from the article editor. The collection's name becomes part of the article's address.

  1. Open Content, Collections and choose Add another collection.
  2. In Create a New Collection, enter the Collection Name and choose Save Changes.
  3. Open an article under Content, Articles and choose Add to an collection under its title.
  4. In Add article to a Collection, pick the collection under Collection and choose Confirm.
  5. Choose Save Changes on the article.

The Add to an collection link appears only when Collections are on your plan. Without Collections, you can still publish articles on their own.

How do you list articles on your portal?

Add the articles collection component to a portal page. Your portal has no automatic list of articles or collections, so this component is how readers find them. Give it a collection name, or leave the name out to list every published article.

The component is the self-closing articlesCollection Markdoc tag. For example, the tag with collection="Release notes" and view="card" shows the articles of the Release notes collection as cards.

AttributeWhat it does
collectionThe collection's name, exactly as it is written under Content, Collections. Leave it out to list every published article.
viewcard for cards, or list for a list. The default is list.

Visitors who are not signed in see only articles set to Visible to everyone. For where pages are edited and the other components, see Portal pages and Markdoc components.

Where do articles appear on the portal?

Under /content on your portal. An article with no collection is at /content/article-slug. An article in a collection is at /content/collection-name/article-slug, with the collection's name as it is written, and the article page shows the collection's name above the title.

The line under Slug in the editor shows the full address. Because the collection's name appears in the address and in the component, renaming a collection changes article addresses. After you rename one, update any articles collection component that lists it by its old name.

How do you rename or delete a collection?

In Content, Collections, open the collection's row menu. Choose Edit to rename it inline, then Update. Choose Delete, then confirm, to remove it. Deleting a collection removes it from its articles and does not delete them.

ActionWhereResult
RenameRow menu, EditThe name becomes editable. Change it and choose Update.
DeleteRow menu, DeleteDelete the Content Collection asks you to confirm. The collection is removed from all its articles.

How do you delete an article?

In the Articles list, open the article's row menu and choose Delete, then confirm in Delete Article. If something else on your portal uses the article, the confirm button is disabled and the dialog explains why.

Troubleshooting

What you seeWhat to do
Please upgrade to access this feature on the Articles or Collections pageThat feature is not on your plan. Choose Upgrade, or contact Apiable.
+ Add Article, the toggles or the row menu are disabledArticles are not on your plan, or your role cannot manage content. Ask an Organisation Admin for the Portal Admin role.
A banner on Collections says your account does not have the role to manage approval groupsOn this page it means your role cannot manage collections. Ask an Organisation Admin for the Portal Admin role.
There is no Add to an collection link in the editorCollections are not on your plan.
Save Changes stays disabledNothing has changed since the last save, or your role cannot manage content.
"Slug cannot be empty" or "Title cannot be empty"Fill in the slug and the title.
The article does not appear on the portalCheck that it is Published. If visitors who are not signed in cannot read it, check that it is Visible to everyone.
An articles collection component shows nothingCheck that collection matches the collection's current name exactly, and that the collection has articles.
The Delete Article confirm button is disabled"This page is being used by the configurations or products and cannot be deleted." Remove it from wherever it is used first.

Where to next