Avatar URL image override by first latest for all previous group when create new one

Hi all,

Avatar URL image override by first latest for all previous group when create new one, mean to say when i creates a group by using group creation API and provide avatar image the avatar image for all previously created group by code become default.png 

Parents
  • There is not enough information here.  Please provide the actual work you are doing to reproduce this.  

  • #set($groupResponse1 = $core_v2_group.Create($name, $groupType, "%{ AvatarFileData = $avatarFileDataArg, AvatarFileName = $avatarFileNameArg}"))


    i am using above code to create group (suppose group 1) by passing AvatarFileData and AvatarFileName it is creating a group with Image URL on AvaratUrl property and i am getting my image url on Avatar Url.

    Now i am going to use the above code to create one another group supposes group 2 by passing AvatarFileData and AvatarFileName.
    Now what i am seeing group 1's AvatarUrl get lost and new Group's 2 Image Url is Perfectly coming and the same for Group 2 whencreating group 3 and so on

Reply
  • #set($groupResponse1 = $core_v2_group.Create($name, $groupType, "%{ AvatarFileData = $avatarFileDataArg, AvatarFileName = $avatarFileNameArg}"))


    i am using above code to create group (suppose group 1) by passing AvatarFileData and AvatarFileName it is creating a group with Image URL on AvaratUrl property and i am getting my image url on Avatar Url.

    Now i am going to use the above code to create one another group supposes group 2 by passing AvatarFileData and AvatarFileName.
    Now what i am seeing group 1's AvatarUrl get lost and new Group's 2 Image Url is Perfectly coming and the same for Group 2 whencreating group 3 and so on

Children