Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • GEODI’de rapor hazırken kullanabileceğiniz metotların bazıları aşağıda yer almaktadır.

İçerik

İfade

Açıklama

1

Dokümanın ldap üzerindeki sahibi

Code Block
languagejson
d.OutputGeodiContent.Attributes.Get("SP_Owner:User")

Dokümanı oluşturan kullanıcıyı verir.

2

Yükleyen

Code Block
languagejson
d.OutputGeodiContent.Attributes.Get("SP_Upload:User")

Dokümanı Geodi’ye yükleyen kullanıcıyı verir

3

Yükleme Zamanı

Code Block
languagejson
=d.OutputGeodiContent.Attributes.Get<DateTime>(\"SP_Upload:Time\",DateTime.MinValue)

Sürüke Bırak ile GEODI’ye yüklenme zamanı

4

Yükleyen IP

Code Block
languagejson
d.OutputGeodiContent.Attributes.Get("SP_Upload:IP")

Sürüke Bırak ile GEODI’ye yüklenme IP’si

5

Bilgisayar Adı

Code Block
languagejson
"=d.OutputGeodiContent.Attributes.Get(\"SP_ComputerName\",\"\")",

6

Doküman Adı

Code Block
languagejson
"=context.Data.OutputGeodiContent.DisplayName",

7

Doküman ID

Code Block
languagejson
"=c.Client!=null && c.Client.IsForcedTestMode() ? -1 : context.Data.OutputGeodiContent.SystemContentID",

8

Doküman Versiyonu

Code Block
languagejson
"=context.Data.OutputGeodiContent.Version",

9

UNC Path

Code Block
languagejson
"=context.Data.OutputGeodiContent.UNCPath!=null?context.Data.OutputGeodiContent.UNCPath:\"-\"",

10

Üst Dizin

Code Block
languagejson
"=context.Data.OutputGeodiContent.ParentContent!=null?context.Data.OutputGeodiContent.ParentContent.DisplayName:'-'",

11

Katman

Code Block
languagejson
"=context.Data.RecognizerBackRef.Recognizer==null?string.Empty:context.Data.RecognizerBackRef.Recognizer.DisplayName",

12

İçerik Türü

Code Block
languagejson
"=context.Data.OutputGeodiContent.ContentTypeKey",

13

Doküman Tarihi

Code Block
languagejson
"=context.Data.OutputGeodiContent.ContentDate",

14

Kaynak

Code Block
languagejson
"=context.Data.OutputGeodiContent.Enumarator.DisplayName",

İçeriğin hangi Enumarator üzerinden geldiği

15

Koordinat X Y

Code Block
languagejson
"=d.RecognizerBackRef.SelectedLocation!=null && d.RecognizerBackRef.SelectedLocation.Geometry!=null?d.RecognizerBackRef.SelectedLocation.Geometry.Coordinate.X.ToString(\"#.#################\"):\"\"",
"=d.RecognizerBackRef.SelectedLocation!=null && d.RecognizerBackRef.SelectedLocation.Geometry!=null?d.RecognizerBackRef.SelectedLocation.Geometry.Coordinate.Y.ToString(\"#.#################\"):\"\"",

16

Uzunluk

Code Block
languagejson
"=context[\"geometry\"].MeterLength(d.RecognizerBackRef.SelectedLocation.Geometry)",

17

GEODI Linki

Code Block
languagejson
"=context[\"geodi.link\"].ViewerLink(d)"

18

Doküman Özeti

Code Block
languagejson
"=context.Data.EntryBackRef.OutputSummary",

19

Dokümandaki Kelime

Code Block
languagejson
"=context.Data.EntryBackRef.OriginalText",

20

Anahtar Kelime

Code Block
languagejson
"=context.Data.RecognizerBackRef.Text",

Dokümanda tanıyıcının bulduğu kelimeler.

21

VT üzerinde Keşfedilen Tablo İsmi

Code Block
languagejson
"=Data.EntryBackRef.OutputEntryProperties!=null?Data.EntryBackRef.OutputEntryProperties.TableName:null",

GEODI 7.0.1.27011 Sürümü ve üzerini gerektirir .

Özet Bilgi kapalı olduğunda kullanılmaz. (warning)

Code Block
languagejson
   "GenericSettings":{
      "QueryOptions":67108864 // Rapor içerisine eklenmesi gerekmektedir.  
   }
22

VT üzerinde Keşfedilen Kolon İsmi

Code Block
languagejson
"=Data.EntryBackRef.OutputEntryProperties!=null?Data.EntryBackRef.OutputEntryProperties.ColumnName:null"

23

Zip Olarak Birden Fazla Rapor Alma

Code Block
Meta: {
WhileDataMode:false,
Sub: [
{
MetaType: "Report",
ReporterOrPath:"%App%\\Settings\\Reports\\QueryReports\\
ContentFinding.jSettings"
}
]
}

View file
nameZipReportOrnek_2.jSettings
View file
nameZipReportOrnek_1.jSettings

  • Metatiplerine Report eklendi. Başka raporlar veya rapor pathleri kullanılarak zip içine n tane rapor eklenebiliyor. ( file, folder, enum meta tipleri aynı anda kullanılmaya devam edilebiliyor. )

    • Bir meta tipi Report olursa üst metasında WhileDataMode false yapılmalı. Aksi durumda her sorguya dahil olan her sonuç için ayrı rapor dosyası oluşturulur. ( otomatik yapmadım. yönetilebilir. Belki her sonuç için ayrı rapor istenilecek yer de çıkar. )