You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Missing viewHelper for Extended Custom Widget

Received Response
12
Views
3
Comments
edited Mar 21, 2018 7:57PM in Customer Portal 3 comments

Content

I extended the IncidentThreadDisplay widget but the bug fix php file, viewHelper, does not come with the files for the extended widget. I tried to copy the viewHelper from the core IncidentThreadDisplay widget folder into the new custom widget folder, but then I get a fatal error.

Fatal error: Call to undefined method RightNow\Libraries\Widget\Helper::getThreadAuthorInfo() in /cgi-bin/[redacted].cfg/scripts/cp/customer/widgets/custom/output/CustomIncidentThreadDisplay on line 22

The code block below is what is in viewHelper.php.

I also added the code from the original view.php into the new custom widget's view.php file.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!