Loading...

RE: How to get the current selected value from qSelector programmatically?

RE: How to get the current selected value from qSelector programmatically?

#6573
Anonymous
Anonymous
Participant

Hi ,

I looked at the Quest Web Parts installation folder and found the sample code you mentioned. I also looked at the QWP documentation and it says the following:

"The Custom Action capability enables you to write a custom code that can be called from qListView, qListForm, qSIListView or qSIListForm Web Parts."

It does not mention qSelector, so is the qSelector really supported in regard to the usage of Custom Actions?

Also when looking at the code comments in the pleCustomActionEx class, I found the following comment:

"The Perform method will be called by the webpart when the action item (such as toolbar button or context menu item) is clicked."

Assuming the qSelector is supported in this regard, I take it that the "Perform" method would be called when a user clicks on a value in the qSelector's dropdown list. My problem is that I want to ask the qSelector about it's current selection when the user clicks the "Add new item" link (for a list that is filtered by the qSelector). More specific, I want to ask the qSelector about it's current value when the NewForm opens.

I also looked at the System Integration Developer Guide and the custom Configurator example, but since I am not using any external data (just a standard SP list on the same page) and thus ain't using the qSISelector, I got the impression that this approach wasn't suited for my problem. Please correct me if I am wrong

Best regards,

Inge