Hi Dynamicweb,
When trying to import favorites with the api I have a bit of a problem with the line marked with red:
Public Shared Sub AddToFavorites(ByVal ProductID As String, ByVal VariantID As String,
ByVal LanguageID As String, ByVal listName As String,
ByVal listType As String,
ByVal listDescription As String,
ByVal FavoriteListID As Integer)
Dim uID As Integer = New Dynamicweb.Frontend.Extranet().UserID
If uID = 0 Then Exit Sub
Dim defaultFavoritesList As Integer = 0
Could you please make an overloaded method with takes the userId as a parameter instead of relying on the session in the method?
Best regards, Anders