Results 1 to 4 of 4

Thread: Adding a Custom Method to a section

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    348

    Adding a Custom Method to a section

    Hi all

    May I know how should I go about adding a custom method to a section in a page?

    Your advice is much appreciated.

    Thanks & Best Regards

  2. #2
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,268
    Hi Tek Hong

    Can you explain what you mean by "Custom method" with a use case. Do you mean "Custom action" and if so what action are you referring to?

  3. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    348
    HI

    Let say I want to add a custom method, "Export_CSV", to a "Report" section that allow it to export the report data to CSV.

    I would then call this method programmatically from a click event

    Your advice is much appreciated

    Thanks & Best Regards

  4. #4
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,268
    You would not add a custom method to a page. You would just add the proc to the custom library for the page and call the proc from a section menu or section footer click.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us