-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
9Questions
-
0Replies
multiple picklists with order in record page
How can we use multiple picklists with order.
I wanna use multiple picklists and its order, but cannot find the box to decide the order.
Can anyone get some information about multiple picklists like the attachment?
I wanna use multiple picklists and its order, but cannot find the box to decide the order.
Can anyone get some information about multiple picklists like the attachment?
- UmeShin
- July 22, 2019
- Like
- 0
- Continue reading or reply
limit of the numbers for selected global picklist
I tried to select values from global picklist values.
But only 100 values can be selected...
How can we extend the numbers of selected global picklist values?
But only 100 values can be selected...
How can we extend the numbers of selected global picklist values?
- UmeShin
- July 19, 2019
- Like
- 0
- Continue reading or reply
Upload pdf file to "file" object
How can we upload pdf file to file object using apex?
Below is what I got from other website, but there is no folder name, so how can we identify folder name?
Also, I wanna know how to get parentId.
Additionally, below is another code that I got to upload file.
What is the differencen between first sample and second sample to upload file?
Thank you in advance.
Below is what I got from other website, but there is no folder name, so how can we identify folder name?
Also, I wanna know how to get parentId.
String jsonStr = '<Base64 String>'; Attachment attach = new Attachment(); attach.contentType = 'application/pdf'; attach.name = 'myfile.pdf'; attach.parentId = '0010H00002DW2Ds'; attach.body = EncodingUtil.base64Decode(jsonStr); insert attach;
Additionally, below is another code that I got to upload file.
ContentVersion imageData; List<String> imageContent; imageContent = getImgdata(); imageData = new ContentVersion(); imageData.ContentLocation = 'S'; imageData.PathOnClient = 'sampleData.png'; imageData.Title = imageContent[0]; imageData.VersionData = EncodingUtil.base64Decode(imageContent[1]); insert imageData;
What is the differencen between first sample and second sample to upload file?
Thank you in advance.
- UmeShin
- July 16, 2019
- Like
- 0
- Continue reading or reply
inline edit for the relational record in the lightning datatable
How can we make inline edit form features for relational record in the lightning datatable?
Below is the current code, and I would like to you to correct this code to achive inline edit for relational reocrd.
component
<lightning:datatable columns="{!v.columns}" data="{!v.data}" keyField="id"/>
Javascript
var columns = [ {label:'product code', fieldName:'prod_code', type:'STRING', editable:true}, {label:'product name', fieldName:'prod_name', type:'STRING'}, editable:true}, {label:'employee name', fieldName:'emp_name', type:'url', editable:true, typeAttributes:{label:{fieldName: "emp_name"}}} ]; //please assume that employee name is the relational record with a parent object. //and other two records are the normal records. component.set("v.columns", columns); var data = [ {prod_code:"001K89", prod_name:"product A", emp_name:{Name:"employee A"}} ]; component.set("v.data", data);
By this code something like this picture is shown and cannot edit relational record.
I would like to make inline edit like attached.
Thnak you in advance.
- UmeShin
- July 12, 2019
- Like
- 0
- Continue reading or reply
How can we click and call Javascript from icon of lightning datatable?
I wanna call Javascript when I click the icon of datatable like the attached.
How can we call Javascript from datatable icon?
How can we call Javascript from datatable icon?
- UmeShin
- July 09, 2019
- Like
- 0
- Continue reading or reply
lightning datatableのヘッダーを削除する方法について
下記画像の赤×をつけた箇所のlightning datatableヘッダー部分を消す方法はありますでしょうか。
よろしくお願い致します。
よろしくお願い致します。
- UmeShin
- June 03, 2019
- Like
- 0
- Continue reading or reply
how to remove header of lightning datatable
Does anyone know how to delete the header of lightning datatable, and how to put data parts only?
I would like to make table like the attached image. Red cross parts are supposed to be removed.
I would like to make table like the attached image. Red cross parts are supposed to be removed.
- UmeShin
- June 03, 2019
- Like
- 0
- Continue reading or reply
how to put multiple lines in header and data about lightning datatable
I try to make header and data by multiple lines, but cannnot do it.
Anyone knows how to put multiple lines in header and data of lightning component datatable?
The attached image is what I want to make.
Anyone knows how to put multiple lines in header and data of lightning component datatable?
The attached image is what I want to make.
- UmeShin
- June 03, 2019
- Like
- 0
- Continue reading or reply
lightning datatableのヘッダーとデータを複数行にする方法について
画像のように、lightning datatableタグを使ってヘッダーとデータ部分を複数行にしたいのですが、何か良い方法はありますでしょうか。
よろしくお願い致します。
よろしくお願い致します。
- UmeShin
- June 03, 2019
- Like
- 0
- Continue reading or reply