# How to make a property in plugin XML only to call a function?

**URL:** https://discourse.paraview.org/t/how-to-make-a-property-in-plugin-xml-only-to-call-a-function/15122
**Category:** Development
**Created:** [July 25, 2024, 3:54pm UTC](https://discourse.paraview.org/t/how-to-make-a-property-in-plugin-xml-only-to-call-a-function/15122 "2024-07-25T15:54:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [July 25, 2024, 3:54pm UTC](https://discourse.paraview.org/t/how-to-make-a-property-in-plugin-xml-only-to-call-a-function/15122/1 "2024-07-25T15:54:06Z")

</div>

Hello

How to make a property in plugin XML only to call a function?

thanks!

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [August 5, 2024, 9:25am UTC](https://discourse.paraview.org/t/how-to-make-a-property-in-plugin-xml-only-to-call-a-function/15122/2 "2024-08-05T09:25:42Z")

</div>

you can define a simple `<Property>` tag, with only `name` and `command` as attributes.
