• Arpit Mantri 13
  • NEWBIE
  • 0 Points
  • Member since 2016
  • Senior Software Engineer
  • PwC

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 1
    Likes Given
  • 3
    Questions
  • 3
    Replies
I face this issue when I upload a photo from iphone using lightning component and set it as profile photo of user using chatter API call. The photo get tilted by some degrees.
We are executing the below code:
photo = ConnectApi.UserProfiles.setPhoto(communityId, userId,  new ConnectApi.BinaryInput(body, contentType,  fileName) );

photo.largePhotoUrl does not returns the photo url which we have updated in the above call instead it returns a previously saved photo url.We are facing this issue after winter, 2019 update.
Issue: Salesforce is not returning back the latest updated user profile photo using connectAPI call from apex.

We are executing the below code:
photo = ConnectApi.UserProfiles.setPhoto(communityId, userId,  new ConnectApi.BinaryInput(body, contentType,  fileName) );

photo.largePhotoUrl does not returns the photo url which we have updated in the above call instead it returns a previously saved photo url.We are facing this issue after winter, 2019 update.
Issue: Salesforce is not returning back the latest updated user profile photo using connectAPI call from apex.

We are executing the below code:
photo = ConnectApi.UserProfiles.setPhoto(communityId, userId,  new ConnectApi.BinaryInput(body, contentType,  fileName) );

photo.largePhotoUrl does not returns the photo url which we have updated in the above call instead it returns a previously saved photo url.We are facing this issue after winter, 2019 update.
When I deploy external object through Metadata API, it dosn't add any custom fields so I can't use the fields.

Details:
version: 39.0
1. On "Setup page"  > External Objects > Custom Fields & Relationships
    I can see all custom fields, which is good.
2. On "workbench.developerforce.com" > Standard & Custom Objects
    I can't see any custom fields here! Is it a bug?

When I delete the external object and add again by "Validate and Sync" through "Setup page", I can see all custom fields on "workbench.developerforce.com".
It happens only when I use metadata API.
It means if I want to remove/add any fields/external objects, I need to delete all related classes/objects first and sync the external object on GUI...

Does anyone have same issue or workaround?
Thanks
I'm using the following statement in custom email template:
{!IF({!Battle_Station__c.Project_Status__c}="Green","Green","Not Green")}

It giving me an output like this:
="Green","Green","Not Green")}

Can somebody pointout what might be the reason?
Thanks in advance.

I just want make a like query on text area type field. How can do it ? 

Please give me some idea.

 

 

Thanks

 

When I deploy external object through Metadata API, it dosn't add any custom fields so I can't use the fields.

Details:
version: 39.0
1. On "Setup page"  > External Objects > Custom Fields & Relationships
    I can see all custom fields, which is good.
2. On "workbench.developerforce.com" > Standard & Custom Objects
    I can't see any custom fields here! Is it a bug?

When I delete the external object and add again by "Validate and Sync" through "Setup page", I can see all custom fields on "workbench.developerforce.com".
It happens only when I use metadata API.
It means if I want to remove/add any fields/external objects, I need to delete all related classes/objects first and sync the external object on GUI...

Does anyone have same issue or workaround?
Thanks