How to customize the community module for the ASAP iOS SDK?

How to customize the community module for the ASAP iOS SDK?

These methods help you display your user community and all associated content on the ASAP help widget. 

Configuring custom actions on the community module

Users can perform various actions in the community module, including editing and deleting topics and adding, editing, and deleting comments.

The following method helps you define users' actions when accessing the community through the ASAP help widget.

Swift

  1. ZDPCommunityConfiguration.isTopicEditAllowed = <#Bool#>
    ZDPCommunityConfiguration.isTopicDeleteAllowed = <#Bool#>
    ZDPCommunityConfiguration.isReplyAllowed = <#Bool#>
    ZDPCommunityConfiguration.iReplyEditAllowed = <#Bool#>
    ZDPCommunityConfiguration.isReplyDeleteAllowed = <#Bool#>

Objective-C

  1. ZDPCommunityConfiguration.isTopicEditAllowed = <#Bool#>;
        ZDPCommunityConfiguration.isTopicDeleteAllowed = <#Bool#>;
        ZDPCommunityConfiguration.isReplyAllowed = <#Bool#>;
        ZDPCommunityConfiguration.isReplyEditAllowed = <#Bool#>;
        ZDPCommunityConfiguration.isReplyDeleteAllowed = <#Bool#>;
Here are some of the parameter keys and the types of values passed in the most popular and most discussed topics.

    •    categoryId - string - ID of the community category from which the topics must be fetched. If you want to include all categories, pass the value "-1".
    •    filterType - string - Type of forum topic. Values allowed are QUESTION, IDEA, ANNOUNCEMENT, PROBLEM, and DISCUSSION.
    •    from - int - Index number, starting from which the topics must be fetched. Value starts from 1.
    •    limit - int - Number of topics to fetch
    •    includeCount - Boolean - Parameter that specifies whether the number of topics fetched must be displayed or not
The following API fetches the forum topics with the most number of likes.

Swift

  1. ZohoDeskPortalSDK.Community.getMostPopularTopics(<#T##params: [String : Any]?##[String : Any]?#>)
    { topics, error in
    // switch on result to get array of topics on success
    }

Objective-C

  1. [ZohoDeskPortalSDKCommunity getMostPopularTopics:
        <#(NSDictionary * _Nullable)#> onCompletion:^(NSArray * topics, NSError * error)
    {
    // on success, topics will return an array, error will return nil
    // on failure, error will return a value, topics will return nil
    }];

Getting the Most Discussed Topics 

The following API fetches the forum topics with the most number of comments.

Swift

  1. ZohoDeskPortalSDK.Community.getMostDisuccedTopics(<#T##params: [String : Any]?##[String : Any]?#>)
    { topics, error in
    // on success, topics will return an array, error will return nil
    // on failure, error will return a value, products will return nil
    }

Objective-C

  1. [ZohoDeskPortalSDKCommunity getMostDisuccedTopics:
        <#(NSDictionary * _Nullable)#> onCompletion:^(NSArray * topics, NSError * error)
    {
    // on success, topics will return an array, error will return nil
    // on failure, error will return a value, topics will return nil
    }];

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick LinksWorkflow AutomationData Collection
                          Web FormsEnterpriseBegin Data Collection
                          Interactive FormsWorkplaceData Collection App
                          CRM FormsCustomer ServiceAccessible Forms
                          Digital FormsMarketingForms for Small Business
                          HTML FormsEducationForms for Enterprise
                          Contact FormsE-commerceForms for any business
                          Lead Generation FormsHealthcareForms for Startups
                          Wordpress FormsCustomer onboardingOrder Forms for Small Business
                          No Code FormsConstructionRSVP tool for holidays
                          Free FormsTravel
                          Prefill FormsNon-Profit

                          Intake FormsLegal
                          Mobile App
                          Form DesignerHR
                          Mobile Forms
                          Card FormsFoodOffline Forms
                          Assign FormsPhotography
                          Mobile Forms Features
                          Translate FormsReal EstateKiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for FormsAlternativesSecurity & Compliance
                          Holiday FormsGoogle Forms alternative GDPR
                          Form to PDFJotform alternativeHIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag & drop form builder
                          WCAG



                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media


                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Introducing ASAP iOS SDK

                                                                                                                This document pertains explicitly to help widgets created using the updated new ASAP Setup. Please note that if you are using an older version of ASAP, the help widgets will be read-only. To enable the new ASAP widgets on your App, use the latest ...
                                                                                                              • How to customize the ASAP SDK iOS Help Widget UI?

                                                                                                                The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: white and black. The following methods help you apply these themes. If you want to change the theme, first ...
                                                                                                              • Setting up the ASAP Help Widget on the Web

                                                                                                                Introduction The ASAP help widget for websites makes your help center easily available for your end-customers. By embedding this widget with your website, you can provide your customers with easy access to your: Customer support team (to raise ...
                                                                                                              • How to customize the ASAP SDK Flutter Help Widget UI?

                                                                                                                The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: light and dark. Android iOS Setting up a theme type You can customize the theme type in the SDK help widget ...
                                                                                                              • Introducing ASAP React Native SDK

                                                                                                                Equipping the Help Center services as widgets to deliver instant assistance to your customers The ASAP SDK for Android/iOS provides easy access to help your mobile app's end users. Using this SDK, you can create and customize a help widget within ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources