how to access PipelineInfo.Profiles collection in custom pipeline?
How do I access the PipelineInfo.Profiles collection in custom pipeline?
How do I access the PipelineInfo.Profiles collection in custom pipeline?
In my blog I show how to get custom context and you can get any of the Commerce Server context in this way.
Good luck,
-Max
Yes, it’s a typo cut\paste
. You could iterate through the context values since they are a dictionary key to find out what is stuffed there. You could also modify the dumporder.vbs to do this for you.
-Max
I retrieved the ProfileService but with the ProfileService I can't see how I can get the profiles collection and the UserObject I store in it.
In a pipeline component, how I can retrieve this user profile within the profiles collection?
Thanks,
Luc
Did anyone have any success getting this to work?
I am struggling to compile this pipeline.
I keep getting the following error message:
Error 103 The type 'ActiveDSLib.IADs' is defined in an assembly that is not referenced. You must add a reference to assembly 'ActiveDSLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
I can't find this assembly can someone please give me a pointer. This is what I am trying to do in my pipeline:
IDictionary Context = (IDictionary)pdispContext;
ProfileService2 profileSvc = (ProfileService2)Context["ProfileService"];
IProfileObject2 temp1 = profileSvc.GetProfileByKey("user_id", user_id, "UserObject", false);
Thanx.Good luck,
-Max