Journal API - AddProfileItem
12 Aug 2010 06:50 PM
    AddProfileItem
    Saves journal data to specific profile.
    Parameters
    Data Type
    Description Required
    AccessKey   
    Guid
    The key that has been assigned to a particular application.
    Yes
    ProfileId
    Integer
    The id of the user to which this item will belong.
    Yes
    URL     
    String
    A url to access the original item if necessary
    No
    Subject
    String
    The main heading for the item up to 255 characters.  Plain text only.
    Yes
    ShortText
    String
    A summary of the information to be posted up to 1000 characters. Plain text only.
    No
    FullText
    String
    Full body of the information being posted up to 8000 characters.   HTML or Plain text.
    No
    SecurityOption Integer
    0=Inherit/Default
    1=Everyone
    2=Community
    3=FriendsOnly
    4=GroupMembers
    5=Private
    6=Roles
     Yes
    RoleIds
    String
    A string of role ids separated by semi-colons that represent the roles that have access to view the journal item. No

    Examples
    1.Dim JournalAPI As New Active.Modules.Social.API.Journal
    2.JournalAPI.AddProfileItem(New Guid(txtAccessKey.Text), txtProfileId.Text, _
    3.    txtURL.Text, txtSubject.Text, txtShortText.Text, _
    4.    txtFullText.Text, drpSecurityOption.SelectedValue, _
    5.    txtRoleIds.Text)

    You are not authorized to post a reply.
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy