• Ram K 35
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi All,

I do have 10 users with different  custom profiles and now i want to restrict all 9 user  records  ?
I have removed view all permissions to 10th user at profile level although i am seeing admin records   ?
how can i do it.any help is appreciated?

Thanks,
Ram 
Hi All,

I do have 10 users with different  custom profiles and now i want to restrict all 9 user  records  ?
I have removed view all permissions to 10th user at profile level although i am seeing admin records   ?
how can i do it.any help is appreciated?

Thanks,
Ram 
I am trying to concatenate two fields and insert into a Note.
It works fine when I use text but fails when I try to use a textarea
InstrumentName__c is a text(255) field and IntrumentProblem_c is textarea(255)
The following works fine:

var repnew3 = new sforce.SObject('Note');
repnew3.ParentId = qr.records.Id;
repnew3.Title = '{!Case.Subject}';
// combine 
repnew3.Body = '{!Case.InstrumentName__c}';
result3 = sforce.connection.create([repnew3]);

 This will not work:

var repnew3 = new sforce.SObject('Note');
repnew3.ParentId = qr.records.Id;
repnew3.Title = '{!Case.Subject}';
// combine 
repnew3.Body = '{!Case.InstrumentProblem__c}';
result3 = sforce.connection.create([repnew3]);

Is there a conversion process require or does the Note.Body field not accept textarea?

Ultimately I want to concatenate the two as follows:
var repnew3 = new sforce.SObject('Note');
repnew3.ParentId = qr.records.Id;
repnew3.Title = '{!Case.Subject}';
// combine 
repnew3.Body = 'Problem: ' + '{!Case.InstrumentProblem__c}' + '  Name: ' + '{!Case.InstrumentName__c}';
result3 = sforce.connection.create([repnew3]);

This is being used as a button action on the Case layout.