Recent searches
No recent searches

Daniel Bernens
Joined Aug 30, 2023
·
Last activity Jan 25, 2025
Following
0
Followers
0
Total activity
42
Votes
18
Subscriptions
9
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Daniel Bernens
Daniel Bernens commented,
Hi Marine,
Do you know how to delete web widgets after they are created? We have one widget for each of our 5 brands, but two of them were created for testing purposes and are now making it impossible to create production web widgets for those brands.
Please advise.
Thanks,
Daniel Bernens
View comment · Posted Jan 23, 2025 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens created a post,
Hello,
I'm working on a Zendesk Support nav bar app and I would like it to remember the state it was in when the user navigates away so that when they come back it puts them right where they were. I think this can be done with client.on('app.deactivated') and client.on('app.activated'), but I'm not sure how to implement this feature. I know it is possible as all of the third party apps we use behave this way.
Right now I am just trying to save the scroll position. Here is the code I wrote most recently, which does not work correctly:
/* Save and Load app state to avoid reloading */
function saveState() {
const state = {
scrollX: window.scrollX,
scrollY: window.scrollY
};
client.set('appState', state).then(() => {
console.log('Scroll position saved:', state);
}).catch((error) => {
console.log('Error saving state:', error);
});
};
function loadState() {
client.get('appState').then((data) => {
console.log('Data retrieved:', data); // Log the retrieved data
const state = data.appState;
if (state) {
// Restore scroll position
window.scrollTo(state.scrollX, state.scrollY);
console.log('Scroll position restored:', state);
} else {
console.log('No state found to restore.'); // Log if no state is found
}
}).catch((error) => {
console.error('Error loading state:', error); // Log any errors
});
}
// Call saveState when use navigates away
window.addEventListener('beforeunload', saveState);
// Load app state when the app is activated
client.on('app.activated', loadState);
Any advice is appreciated!
Thank you,
Daniel Bernens
Posted Dec 31, 2024 · Daniel Bernens
0
Followers
2
Votes
2
Comments
Daniel Bernens commented,
Hey SGL, can you elaborate on what your setup looks like in order to display the nav bar icon correctly? I'm having your same issue and can't seem to fix it. Thanks!
Daniel Bernens
View comment · Posted Dec 02, 2024 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens created a post,
I am retrieving user events from the Events API for the admins on my account. In the results, I see events like ticket_requested, article_viewed, help_center_searched, article_search_result_clicked, etc.
My question is, where can I find a list of all the events this API tracks? Obviously my admins are updating tickets, editing/publishing articles etc, but these don't show in the results. And is it possible to extend this functionality, either through a Zendesk setting or a custom developed solution?
We are on the Suite Professional plan.
Thanks,
Daniel Bernens
Edited Oct 06, 2024 · Daniel Bernens
0
Followers
3
Votes
1
Comment
Daniel Bernens commented,
Thanks Dainne Kiara Lucena-Laxamana for your reply. Is “Roles” also amended to “Groups”? I do have the Groups option but not Roles or Departments.
View comment · Posted Oct 02, 2024 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens commented,
Please remove this request from my list. I think it was created when I followed the linked community post. I no longer need to have this request as evidently this feature is not going to be fixed for a while.
View comment · Posted Sep 10, 2024 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens commented,
@Emily Reidy any update on implementing this feature?
View comment · Posted Sep 10, 2024 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens commented,
dAVE Inden +1 to that idea. That would be a great implementation.
View comment · Posted Aug 22, 2024 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens created a post,
Hello,
My team uses an Automation to add a Public Comment to certain tickets. This comment is rather long and has lots of HTML and Liquid Markup in it, which puts it right below the character limit. I was asked to add code to change some listed times in this comment based on the Time Zone field of a ticket, but I could not find a way to do it that didn't put the comment over the character limit (8192). I found several posts like https://community.shopify.com/c/technical-q-a/how-can-i-use-the-liquid-filter-in-time-zone-correctly/m-p/1636882 this one talking about a filter called “in_time_zone” that does exactly what I need, but it is apparently not supported by Shopify or Zendesk. I tested using it in several different ways and either got an error or it was simply ignored by the Liquid engine.
I would love to see this filter added to Zendesk's Liquid engine so I can accomplish what was asked of me.
Thanks,
Daniel Bernens
Posted Aug 13, 2024 · Daniel Bernens
0
Followers
0
Votes
0
Comments
Daniel Bernens created a post,
Currently the bulk ticket editor shows all custom fields from all forms in our account, even if the selected tickets all use the same form. Also, the field list seems to be in completely random order. This makes it time consuming and frustrating for our teams to make even simple changes to groups of tickets, because we have many ticket forms and many custom fields on those forms.
I'm requesting implementation of either a mechanism for only showing fields on relevant forms, or a way to allow us to reorganize the fields that appear in the bulk editor.
Thank you,
Daniel Bernens
Posted May 24, 2024 · Daniel Bernens
4
Followers
6
Votes
4
Comments