POST
|
Hi Robert, the things you do are very interesting and useful. I am trying to highlight row in where the Field Name is "Asset type" , when I put the code : aspect.around(this.grid, "renderRow", function(original) { return function(object) { var row = original.apply(this, arguments); if(object.Asset_ === 'Manhole'){ html.addClass(row, 'redRow'); } return row; }; }); it does not highlight the cell for me, also I have pasted the html code you said to put in the style.css Also this is a relationship layer can you please help in this if I am doing something wrong.
... View more
08-27-2022
08:53 AM
|
0
|
0
|
916
|
POST
|
Hi Xander Bakker Thank you for the help but I have written the code on the basis of code in the pop up expression. Thank You very much for the help!!
... View more
07-20-2020
02:10 PM
|
0
|
0
|
1257
|
POST
|
Hi Xander Bakker Thanks for the reply The popup code was build by some other code. I really donot know how he did it. can you please help with this as I want to export this in attribute table so that I can export and get the data.
... View more
07-17-2020
04:49 PM
|
0
|
2
|
1257
|
POST
|
Thank You Xander Bakker so much for you valuable response!! Yes I want that to display in my attribute table so that I can extract them as csv. Right now we have them in POPUP.
... View more
07-17-2020
08:42 AM
|
0
|
4
|
1257
|
POST
|
Hi Sir, can you help me with appending of data from related layer to the main layer with arcade code. I have two data one is the Inspection Points and other is the attachment layer both. The attachment layer is related to the Inspection points. So for eg in one Inspection point there may be 5 or 4 attachment points. I just wan to get the attachment data into the Inspection points based on the global id. I am trying my best. I have a gdb and in the calculate field I am adding the expression: var tbl = FeatureSetByName($datastore,"Attachment_Collection"); var codigo = $feature["GlobalID"]; var sql = "GlobalID = '" + codigo + "'"; Console(sql); var mantenimientos = Filter(tbl, sql); var cnt = Count(mantenimientos); var historia = ""; if (cnt > 0) { historia = cnt + " Mantenimiento(s):"; for (var mantenimiento in mantenimientos) { var txt_fecha = Text(mantenimiento.Feature_Height); var txt_man = txt_fecha + mantenimiento.Attachment_Type; historia += TextFormatting.NewLine + txt_man; } } else { historia = "No hay mantenimientos"; } return historia; It will be a pleasure to hear from you. Thanks in advance
... View more
07-16-2020
04:19 PM
|
0
|
6
|
1379
|
Online Status |
Offline
|
Date Last Visited |
a week ago
|