RDOSocialActivityVariables object |
RDOSocialActivityVariables collection
represent activity variables to be used by an activity template.
Returned by:
RDOSocialActivity.Variables
The example below retrieves
activities for the specified user and prints out variables used by each
activity..
userToFind = "user@domain.demo"
set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set SocialConnector = Session.SocialConnectors.Item("Facebook")
'set SocialConnector = Session.SocialConnectors.Item("Linkedin")
'set SocialConnector = Session.SocialConnectors.Item("Windows Live
Messenger")
set activities = SocialConnector.GetActivities(userToFind, #10/1/2013#)
for each activity in activities
Debug.Print activity.PublishDate & " " & activity.AsText
Debug.Print "Number of variables: " &
activity.Variables.Count
for each variable in activity.Variables
Debug.Print " variable named " &
variable.Name
if variable.Type = 6 Then 'savtList
Debug.Print "
number of subvariables: " & variable.List.Count
End If
next
Debug.Print "-------------------"
next |
Properties
Methods
|
Derived from:
IDispatch
|
|
Properties |
|
Count |
integer, read-only. Returns he number of variables in the collection.
|
|
|
Methods |
|
Item(Index) |
Returns
RDOSocialActivityVariable object corresponding to the given index (1
through Count).
|
|
|