Bu haberde
Başlamadan önce
- You need permission to manage the help centre.
- Write your fix articles first. A fix step can link to one.
- The tree is typed in an advanced box, as text in JSON form. Take your time and copy the example below.
Adımlar
- Open Haberler and choose Sorun gidericiler. This opens the list of troubleshooters.
- Choose Yeni.
- Fill in Başlık. Optional: Özet and Platform, for example the device or app the problem is about.
- In the box for the field
tree, type your tree. It is marked “advanced”. Use the example below. - If the box says "That is not valid JSON, so it was not applied.", check for a missing comma or quote.
- Put the entry in the right hub section, then publish.
The shape of a tree
A tree has a start and a list of nodes. There are three kinds of node:
- Soru has
textand 2 to 8answers. Each answer has alabeland anextthat names another node. - Düzelt has
text. It can also have anarticleId, the number of one of your published stories, or an httpsurl. - İletişim ends the walk at your "Still need help?" panel.
{
"start": "q1",
"nodes": [
{ "id": "q1", "kind": "QUESTION", "text": "Do you remember your password?",
"answers": [ { "label": "Yes", "next": "q2" }, { "label": "No", "next": "f-reset" } ] },
{ "id": "q2", "kind": "QUESTION", "text": "Is two-step sign-in on?",
"answers": [ { "label": "Yes", "next": "f-code" }, { "label": "No", "next": "c1" } ] },
{ "id": "f-reset", "kind": "FIX", "text": "Reset your password from the sign-in page.", "articleId": 1007 },
{ "id": "f-code", "kind": "FIX", "text": "Check your phone's clock and use a backup code." },
{ "id": "c1", "kind": "CONTACT", "text": "We can help you personally." }
]
}Rules the site checks when you save
- 1 to 50 nodes.
- Node ids use lower-case letters, digits and dashes, up to 40 characters, starting with a letter or digit. Each id is used once.
- A question has 2 to 8 answers, and every answer points to a node that exists.
- Every node can be reached from
start. - The tree can't loop. If an answer leads back to an earlier question, you see: "This troubleshooter loops back to an earlier step. Every path must end with a fix or contact step."
- The tree can be up to 32 KB.
Faydalı bilgiler
- Each published troubleshooter has its own page on your site.
- Insights. Help insights shows Sorun gidericilerin bittiği yer, so you can see which fixes readers reach.
- A fix with an
articleIdlinks to the story only while that story is published.
Sık karşılaşılan sorunlar
- "This troubleshooter loops back to an earlier step." An answer points back. Change its
nextto a fix or contact node. - A save error about the tree. The error names
fields.tree. A node is missing a part, such astextor a validnext. Compare with the example.
Sorular
Sıkça sorulan sorular
Where do I find the number for articleId?
Open the story in the editor. The number is at the end of its address in your admin.
Can I draw the tree?
There is no drawing tool in the admin today. You type the tree.