SDL Community

  • Site
  • User Join or Sign in
  • Site
  • Search
  • User
  • Home
  • Ideas
    • Ideas
      • Translation Productivity Ideas
        • SDL MultiTerm Ideas
        • SDL Passolo Ideas
        • SDL Trados GroupShare Ideas
        • SDL Trados Studio Ideas
      • SDL Community Ideas
      • SDL Tridion DX Ideas
        • SDL Tridion Docs Ideas
        • SDL Tridion Sites Ideas
      • Translation Management Ideas
        • SDL TMS Ideas
        • SDL WorldServer Ideas
        • SDL Managed Translation - Enterprise Ideas
      • Machine Translation Ideas
        • SDL BeGlobal Ideas
        • SDL Enterprise Translation Server (ETS) Ideas
      • SDL Language Cloud Ideas
        • SDL Online Translation Editor Ideas
        • SDL Translation Toolkit Ideas
      • Contenta Publishing Suite Ideas
        • SDL LiveContent S1000D Ideas
        • SDL Contenta S1000D Ideas
        • SDL XPP Ideas
      • SDL Connector Ideas
        • SDL Connectors for TMS Ideas
        • SDL Connectors for WorldServer Ideas
        • SDL Connectors for Web Ideas
        • SDL Connectors for Managed Translation Ideas
        • SDL Connectors for KC Ideas
      Training
      Ideas Wiki
      Log a Support Ticket
      Community Wiki/FAQ
    • Ideas Wiki
  • Product Groups
    • Ideas
      • Translation Productivity
        • SDL Trados Studio
        • SDL MultiTerm
        • SDL Trados GroupShare
        • SDL Trados Speech to text
        • smartQuery - SDL Query Management
        • SDL Passolo
        • Translation Productivity 各フォーラムへのガイド
      • Translation Management
        • SDL WorldServer
        • SDL Managed Translation - Enterprise
        • Translation Management Connectors
        • SDL TMS
      • SDL Tridion DX
        • SDL Tridion Docs
        • SDL Tridion Sites
      • SDL Contenta Publishing Suite
        • SDL LiveContent S1000D
        • SDL Contenta S1000D
        • SDL XPP
        • Contenta Upgrades
      • SDL Language Cloud
      • SDL Language Services
        • SDL Language Services Private
        • SDL Managed Translation - Online
      • Machine Translation
        • SDL BeGlobal
        • SDL ETS
      Training
      SDL Trados Studio Forum
      Download My SDL Trados Here
      SDL Tridion Sites Articles
      Community Help
      To SDL.com
  • Customers & Partners
    • Partner Groups
      • Customer Groups
        • SDL Customer Gateway
        • Philips
        • Style Guides
        • SDL Professional Services
        • SDL Access Customer Portal
      • Partner Groups
        • Language Technology Partner Group
        • SDL Enterprise Technology Partners
        • SDL Academic Partners
      • User Groups
        • SDL Web UK Meetup
        • Nordic SDL Tridion Docs User Group
        • SDL Tridion DX User Group
        • SDL WorldServer User Group
        • Machine Translation User Group
        • XyUser Group
        • SDL Web West Coast User Group
        • SDL Web User Group New England
        • Tridion User Group Benelux
        • Tridion User Group Ohio Valley
      Training
      SDL TMS 11.3 Release Announcement
      SDL Global Client Services (GCS) Brochure: Harnessing the Power of Content
  • Developers & More
    • Developers and more
      • Developers
        • Tridion Docs Developers
        • Tridion Sites Developers
        • Xopus Developers
        • Language Developers
      • Feedback Groups
        • Community Help
        • SDL User Experience
      • SDL Internal Groups
        • SDL Community Internal Group
        • Language Products - GCS Internal Community
        • Customer Enablement Leadership Team
      Training
      Visit the SDL AppStore
      SDL Tridion Sites Articles
      SDL Tridion Docs Best Practices
  • Events & Resources
    • Resources
        • Resources
        • SDL.com
        • SDL Customer Gateway (Support)
        • Product Documentation
        • Training
        • Social Media
        • Events
        • View all Events
      Book your training now!
      Community YouTube Channel
      SDL Global Client Services Brochure: Harnessing the Power of Content
Language Developers
  • Developers & More
  • Developers
  • Language Developers
  • More
  • Cancel

Language Developers

Language Developers - Wik…
  • Blogs
  • Forums
  • Wiki
  • Members
  • Tags
  • More
  • Cancel
This group requires membership for participation - click to join
  • +SDL AppStore Developers - Wiki
  • -API Tips & Tricks
    • -All about Batch Tasks plugins
      • How bind a DataGridView to SettingsGroup
      • How to edit the plain text from sdlxliff in Batch Task context
      • How to insert a placeholder in Segment in Batch Task context
    • +All about Translation Memory API
    • +GroupShare Api endpoints step by step
    • GroupShare WebHooks Service
    • How to create a View plugin in Studio using WPF
    • How to create a project using public api
    • How to download Studio Templates SDK
    • How to push notifications in Studio 2019
    • How to set up development environment to build plugins
    • How to update plugins to Studio 2019
    • How to use Tell Me API
    • Studio Ribbon Tabs
    • Studio Useful Tips service
    • Update required to older versions of Studio plugins
Related
Recommended

All about Batch Tasks plugins

Before choosing Batch Task as template to build your plugin you should ask yourself if this template is suitable for your needs. Take your time and respond to this questions: 

When you create a project using Batch Task template the following files will be generated:

  1.  Depending on the name of your solution you'll have a class which has the following annotation [AutomaticTask].This class is the entry point of your plugin. By default it  has two methods:
  • ConfigureConverter() method will be called when user clicks on "Finish" button. From here the logic of your application will begin.
  • OnInitializeTask() ,is the method from where you can get your Batch Task settings saved on the project.

To get the setting use following method GetSetting<CustomSettings>(). Where CustomSettings is a class which inherits from SettingsGroup class.

  • If your plugin should process sdlxliff files OnFileComplete() method should be added!. Just paste the following code on your class. This allows your application to override the xliff. If you don't add this your changes on the file will not be saved.

  2. An User Control where the UI of the application should be added.

  3. An class which inherits SettingsGroup. This class is used to set end get custom settings for your plugin.

  4. An SettingsPage which inherits DefaultSettingsPage. Here you add the logic if you want to set some information triggered on the following events: Save, Cancel, ValidateInput and so on.

 In the following pages we'll explain how the settings from User Control should be saved in SettingsGroup class and how you can update the user interface based on the information you already have saved in settings.

Please go to  How bind a DataGridView to SettingsGroup page to continue the tutorial.

  • batch task
  • Studio Documentation
  • Studio API
  • Share
  • History
  • More
  • Cancel
  • SDL
  • TranslationZone.com
  • Language Cloud
  • Copyright
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions
  • Sitemap