API migration
Posted Jul 08, 2022
A number of APIfrom v1 have been deprecated in the doc
https://developer.zendesk.com/documentation/help_center/help-center-templates/v1/
Example
{{section.internal}}
This property had previously been deprecated (always returning false) and has now been removed.
This being said where can i find in favor of what have they been replaced ?
0
3
3 comments
Tipene Hughes
Yes you'd just need to remove the "
internal
" property from the section object as that's no longer supported. You can still add the icon to articles by adding the internal property to the article object, similarly to how you would have done with sections in the past.I hope this helps!
Tipene
0
Heather Firth
I'm also updating my API. So if a section was internal, there used to show a lock icon because it's
{{#if section.internal}}
<span class="icon-lock" title="{{t 'internal'}}"></span>
{{/if}}
So what happens now in version2? Do we just remove this completely? Can we still add this icon to titles for articles that are for agents and admins?
0
Greg Katechis
0
Sign in to leave a comment.