Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > RequestStockHelper.Add() : Best way to pass parameters between web parts? View modes: 
User avatar
Member
Member
vcarter - 9/10/2013 12:06:20 PM
   
RequestStockHelper.Add() : Best way to pass parameters between web parts?
I am retrieving the data for a detail view of a particular document type. Attached to that data is some custom table data that I would like to pass on to another webpart to use in a where clause.

The only reference I found to doing something like this was for version 5 using the RequestStockHelper.Add() method. Is this still the best way?

Basically I have a fact sheet, and that fact sheet is connected to a specific region and 1 or more business units. I want to take that region and business unit data(ID numbers) and pass it into a media contact repeater, to show all contacts relevant to a particular fact sheet.

Thoughts?

User avatar
Member
Member
kentico_sandroj - 9/10/2013 9:02:36 PM
   
RE:RequestStockHelper.Add() : Best way to pass parameters between web parts?
Hello,

The RequestStockHelper approach is still the best way to share information between the controls. We also recommend a similar approach for setting Web part properties.

Best Regards,
Sandro

User avatar
Member
Member
vcarter - 9/11/2013 8:31:33 AM
   
RE:RequestStockHelper.Add() : Best way to pass parameters between web parts?
Thanks Sandroj, I was just making sure this was a best practice.

Namaste