UI Action OnClick Script function ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 12:38 AM
Hi!
I am still fairly new to SN and I ran into some difficulties with UI Actions.
I accidently found out, that the Javascript functions which are specified in the OnClick field and implemented in the Script area,
have to have UNIQUE names over all UI Actions. I use "run()" in two UI Actions which operate on completely different tables and
the wrong "run()" got called when clicking an UI Action form button. I couldnt find notes about this behaviour in the Wiki so I thought I post it
and ask if this is a desired behaviour or a bug ?
Thanx in advance for any comments!
regards,
Hans
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2015 01:20 PM
This is true. I have experienced the same. Not sure if its a bug though.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2015 06:23 PM
Hi Hans,
The function which your calling onclick should be unique .
Regards,
Harish.