{ "id": "ExDirPre", "displayName": "INTRA e INTER - Exercício do Direito de Preferência", "description": null, "currentVersion": "4.12", "arcGisPortalAuthentication": null, "hasLayerCatalogs": false, "hasNamedExtents": false, "hasPrintTemplates": true, "hasWorkflows": true, "hasSearchTables": false, "hasWebMaps": false, "hasViewers": true, "hasOverviewMap": false, "hasNorthArrow": true, "hasTimeSliders": false, "hasVirtualDirectory": true, "hasGeocodingEndpoints": false, "hasGeoprocessingEndpoints": false, "hasGeometryEndpoints": true, "hasKmlServiceEndpoint": false, "updateInterval": 0, "timeZoneId": "Etc/UTC", "displayTimeZoneId": null, "dataProvider": null, "defaultCurrency": "EUR", "signInEnabled": true, "signOutEnabled": true, "signOutRedirectUrl": null, "principal": { "isAuthenticated": false, "label": "Guest", "expiry": null, "identities": [ { "authenticationType": "", "isAuthenticated": false, "nameClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", "roleClaimType": "http://schemas.microsoft.com/ws/2008/06/identity/claims/role", "label": null, "claims": [ { "type": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", "value": "Guest", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:guest", "originalIssuer": "urn:gcx:guest", "properties": {} }, { "type": "http://www.geocortex.net/security/claims/category/guest", "value": "", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:guest", "originalIssuer": "urn:gcx:guest", "properties": {} }, { "type": "http://www.geocortex.net/security/claims/category/known", "value": "", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:global", "originalIssuer": "urn:gcx:global", "properties": {} }, { "type": "http://www.geocortex.net/security/claims/category/any", "value": "", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:global", "originalIssuer": "urn:gcx:global", "properties": {} }, { "type": "http://www.geocortex.net/security/claims/audience", "value": "", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:global", "originalIssuer": "urn:gcx:global", "properties": {} }, { "type": "http://www.geocortex.net/security/claims/policy", "value": "", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:global", "originalIssuer": "urn:gcx:global", "properties": {} }, { "type": "http://www.geocortex.net/security/claims/category", "value": "secure-conversation", "valueType": "http://www.w3.org/2001/XMLSchema#string", "issuer": "urn:gcx:global", "originalIssuer": "urn:gcx:global", "properties": {} } ] } ], "policy": { "authenticate": false, "hints": null, "issuers": [ { "displayName": "Município de Leiria", "displayType": "ArcGIS", "type": "ags-oauth2", "hint": null, "urls": { "signIn": "https://geoportal.cm-leiria.pt/MuniSIG/REST/security/signIn?idp_name=urn:gcx:ags:164A1AA8-1E96-415B-BC6F-33636EBD8294" } } ] }, "urls": { "expirationNotice": "https://geoportal.cm-leiria.pt/MuniSIG/REST/security/expirationNotice", "referrer": null, "refresh": null, "signIn": "https://geoportal.cm-leiria.pt/MuniSIG/REST/security/signIn", "signOut": "https://geoportal.cm-leiria.pt/MuniSIG/REST/security/signOut" }, "tokens": { "arcgis": {}, "geocortex": {}, "site": null } }, "properties": [ { "name": "MuniSIGVersion", "value": "10.6.0" } ], "extensions": [{"className":"EsriPT.MuniSIG.Rest.Extension.Configuration.AdvancedSearchConfig","instance":{"SearchList":[{"ID":0,"Nome":"Pesquisar Freguesia e Rua","Descricao":null,"DataConnectionID":"0","SearchFields":[{"ID":0,"Name":"Freguesia","Mandatory":true,"FieldType":"ComboBox","ComboBoxParameter":{"SelectedTable":"GEOLEIRIA.SDE.TOPONIMIA_OFICIAL","ValueColumn":"FREGUESIA","DescriptiveColumn":"FREGUESIA","DistinctValue":true,"SortResults":"Ascending","pesqID":"","SQLExpression":"SELECT DISTINCT FREGUESIA FROM GEOLEIRIA.SDE.TOPONIMIA_OFICIAL ORDER BY FREGUESIA ASC"},"TextBoxParameter":{"RegularExpression":"","ErrorMessage":"undefined"},"RelationListId":""},{"ID":1,"Name":"Rua","Mandatory":true,"FieldType":"ComboBox","ComboBoxParameter":{"SelectedTable":"GEOLEIRIA.SDE.TOPONIMIA_OFICIAL","ValueColumn":"Toponimo","DescriptiveColumn":"Toponimo","DistinctValue":true,"SortResults":"Ascending","pesqID":"","SQLExpression":"SELECT DISTINCT Toponimo FROM GEOLEIRIA.SDE.TOPONIMIA_OFICIAL WHERE freguesia LIKE {0} ORDER BY Toponimo ASC"},"TextBoxParameter":{"RegularExpression":"","ErrorMessage":"undefined"},"RelationListId":"0"}],"SearchConditions":[{"Conjunction":"","ColumnName":"FREGUESIA","Operator":"Equals","SearchField":0},{"Conjunction":"And","ColumnName":"Toponimo","Operator":"Equals","SearchField":1}],"AdvancedQueryExpression":"SELECT OBJECTID, TOPONIMO, FREGUESIA \r\nFROM GEOLEIRIA.SDE.TOPONIMIA_OFICIAL \r\nWHERE FREGUESIA = {0}\r\nAND TOPONIMO = {1}\r\n","SelectedTable":"GEOLEIRIA.SDE.TOPONIMIA_OFICIAL","Columns":"objectid, toponimo, freguesia","SelectDataColumns":[],"QueryRelationField":"OBJECTID","MapService":"0","MapServiceLayer":"3","MapServiceLayerFieldName":"OBJECTID","ZoomToSelection":true,"SelectIdentifiedElements":true,"SetPushPins":true,"ZoomFactor":"1.25"},{"ID":1,"Nome":"Pesquisar Áreas de Direito de Preferência","Descricao":null,"DataConnectionID":"0","SearchFields":[{"ID":0,"Name":"Direito de Preferência","Mandatory":true,"FieldType":"ComboBox","ComboBoxParameter":{"SelectedTable":"GEOLEIRIA.SDE.EXERCICIO_DIREITO_PREFERENCIA","ValueColumn":"DESIGNACAO","DescriptiveColumn":"DESIGNACAO","DistinctValue":true,"SortResults":"Ascending","pesqID":"","SQLExpression":"SELECT DISTINCT DESIGNACAO FROM GEOLEIRIA.SDE.EXERCICIO_DIREITO_PREFERENCIA ORDER BY DESIGNACAO ASC"},"TextBoxParameter":{"RegularExpression":"","ErrorMessage":"undefined"},"RelationListId":""}],"SearchConditions":[{"Conjunction":"","ColumnName":"DESIGNACAO","Operator":"Equals","SearchField":0}],"AdvancedQueryExpression":"SELECT OBJECTID, DESIGNACAO \r\nFROM GEOLEIRIA.SDE.EXERCICIO_DIREITO_PREFERENCIA \r\nWHERE DESIGNACAO = {0}\r\n","SelectedTable":"GEOLEIRIA.SDE.EXERCICIO_DIREITO_PREFERENCIA","Columns":"OBJECTID, DESIGNACAO","SelectDataColumns":[{"ColumnName":"OBJECTID","ColumnType":""},{"ColumnName":"DESIGNACAO","ColumnType":""}],"QueryRelationField":"DESIGNACAO","MapService":"3","MapServiceLayer":"9","MapServiceLayerFieldName":"DESIGNACAO","ZoomToSelection":true,"SelectIdentifiedElements":false,"SetPushPins":true,"ZoomFactor":"1.25"}]}},{"className":"EsriPT.MuniSIG.Rest.Extension.Configuration.AdvancedPrintConfig","instance":{"Emails":{"HostSMTP":"","PortSMTP":25,"UseSsl":false,"User":"","Password":"","FromMail":"","UserDomain":"","AskForMailTo":false,"NeedMailTo":false,"InternalEMails":"","SubjectMail":"","BodyMail":""},"PrintTemplates":[{"ID":0,"Nome":"Planta de localização","Descricao":"","isPlanPrint":true,"isPlanEmission":true,"hideDraw":false,"ResolucaoDPI":300,"GeoPDF":false,"SelectableTemplate":null,"Formats":[{"ID":0,"DisplayName":"A4","FileMXD":"Impressao_direito_preferencia.mxd","ChangeLayers":true,"FormatType":null,"TemplateTypeMXD":false,"TemplateTypePAGX":false,"WidthLayout":null,"HeightLayout":null}],"MapScales":[{"ID":0,"DisplayName":"2 000","Scale":"2000"},{"ID":1,"DisplayName":"1 000","Scale":"1000"}],"SpatialRules":[{"ID":0,"DisplayName":"Exercício do Direito de Preferência","MapService":"3","MapServiceLayer":"9"}],"Attachments":[],"DefaultPrintFields":true,"FieldsIdsString":"","DefaultMapScale":0,"DefaultTemplateFormat":0,"readyToPrint":0,"isAutoFormat":false,"isOnlyAutoFormat":false,"Parametros":null}],"PrintService":{"GeoprocessingURL":"https://geoportal.cm-leiria.pt/arcgis/rest/services/MuniSIGPrint/GPServer/MuniSIGPrint","TemplateFolder":"\\\\10.100.38.51\\mxd\\Layouts","HistoryFolder":"\\\\10.100.38.52\\Outputs\\PrintOutput","VirtualDirectoryHistory":"https://geoportal.cm-leiria.pt/outputs/printoutput/","SelectOutputFormats":[{"ColumnName":"PDF","ColumnType":""}],"ProxyPage":"","AGSSecurity":"","OutputFormatPdfa":false,"OutputExportDWF":false,"OutputExportDWFx":false,"IsOutputFormatPdfSigned":false,"CertificatePath":null,"CertificatePassword":null,"ShowSelectionTool":false,"ShowDrawTool":true,"ShowGeometryTypePoint":false,"ShowGeometryTypeLine":false,"ShowGeometryTypePolygon":true,"GeometryColor":"#ff0000","SelectColor":"#ff0000","SaveEmissionPlans":false,"SavePrintPlants":false,"CenterPrintActive":false,"PrintCentroidOnlyActive":false,"PrintInterfaceVisible":false,"HideGeometryPrintedPlant":false,"HidePlantsHyperlinks":false,"bufferDistance":50,"LineWidth":3,"PointSize":5,"isSequentialDtTableConfigurable":false,"isPlanHistoryConfigurable":false,"HistoryDataConnectionID":"0","SequencialValueDataConnectionID":"0","HistoryPlantsDataTable":"","SequencialValueDataTable":"","HistoryFieldsDataTable":"","PointMapService":"4","PointMapServiceLayer":null,"PointMapServiceLayerFieldName":null,"PolygonMapService":"4","PolygonMapServiceLayer":"43","PolygonMapServiceLayerFieldName":null,"PolylineMapService":"4","PolylineMapServiceLayer":null,"PolylineMapServiceLayerFieldName":null},"PrintFields":[{"ID":0,"DataFieldName":"REQUERENTE","DisplayName":"Requerente","DefaultValue":"","FieldGroup":"Geral","FieldType":"TextBox","Editable":true,"UniqueID":"67c56d0c-3d07-4fda-bf36-f1404f6eee27","Mandatory":false,"ComboBoxParameter":{"TypeValue":"","DataConnection":"","Table":"","DescriptiveColumn":"","DistinctValue":true,"SortResults":"","SelectPossibleValues":[],"SQLExpression":"","SQLExpressionType":"basic","MapServiceID":"","LayerID":"","LayerName":"","Field":""},"TextBoxParameter":{"MaximumSize":-1,"TypeValue":"Manual","LastValue":-1,"Prefix":"","Sufix":"","RegularExpression":"","ErrorMessage":""}},{"ID":1,"DataFieldName":"FREGUESIA","DisplayName":"Freguesia","DefaultValue":"","FieldGroup":"Geral","FieldType":"ComboBox","Editable":true,"UniqueID":"e9e4f2ec-4445-4f8b-b604-a22e582fe09f","Mandatory":false,"ComboBoxParameter":{"TypeValue":"Geographic","DataConnection":"0","Table":"GEOLEIRIA.SDE.ABASTECIMENTO_DRENAGEM_AGUAS_LINHAS","DescriptiveColumn":"Designacao","DistinctValue":true,"SortResults":"NoSorting","SelectPossibleValues":[],"SQLExpression":"SELECT DISTINCT Designacao FROM GEOLEIRIA.SDE.ABASTECIMENTO_DRENAGEM_AGUAS_LINHAS","SQLExpressionType":"basic","MapServiceID":"0","LayerID":"1","LayerName":"","Field":"Freguesia"},"TextBoxParameter":{"MaximumSize":-1,"TypeValue":"","LastValue":-1,"Prefix":"","Sufix":"","RegularExpression":"","ErrorMessage":""}},{"ID":2,"DataFieldName":"LOCALOBRA","DisplayName":"Local da obra","DefaultValue":"","FieldGroup":"Geral","FieldType":"TextBox","Editable":true,"UniqueID":"9dbd8411-e427-420f-a181-b10170ea0eb5","Mandatory":false,"ComboBoxParameter":{"TypeValue":"","DataConnection":"","Table":"","DescriptiveColumn":"","DistinctValue":true,"SortResults":"","SelectPossibleValues":[],"SQLExpression":"","SQLExpressionType":"basic","MapServiceID":"","LayerID":"","LayerName":"","Field":""},"TextBoxParameter":{"MaximumSize":-1,"TypeValue":"Manual","LastValue":-1,"Prefix":"","Sufix":"","RegularExpression":"","ErrorMessage":""}},{"ID":3,"DataFieldName":"ANUNCIO","DisplayName":"Anuncio nº","DefaultValue":"","FieldGroup":"Geral","FieldType":"TextBox","Editable":true,"UniqueID":"fde76725-ddf3-445b-be02-e78db4a1a16e","Mandatory":false,"ComboBoxParameter":{"TypeValue":"","DataConnection":"","Table":"","DescriptiveColumn":"","DistinctValue":true,"SortResults":"","SelectPossibleValues":[],"SQLExpression":"","SQLExpressionType":"basic","MapServiceID":"","LayerID":"","LayerName":"","Field":""},"TextBoxParameter":{"MaximumSize":-1,"TypeValue":"Manual","LastValue":-1,"Prefix":"","Sufix":"","RegularExpression":"","ErrorMessage":""}},{"ID":4,"DataFieldName":"MATRIZ","DisplayName":"Matriz Urbana / Fração","DefaultValue":"","FieldGroup":"Geral","FieldType":"TextBox","Editable":true,"UniqueID":"12e67773-8bf9-45f7-8d9f-762369b6a67e","Mandatory":false,"ComboBoxParameter":{"TypeValue":"","DataConnection":"","Table":"","DescriptiveColumn":"","DistinctValue":true,"SortResults":"","SelectPossibleValues":[],"SQLExpression":"","SQLExpressionType":"basic","MapServiceID":"","LayerID":"","LayerName":"","Field":""},"TextBoxParameter":{"MaximumSize":-1,"TypeValue":"Manual","LastValue":-1,"Prefix":"","Sufix":"","RegularExpression":"","ErrorMessage":""}}],"PrintGroups":[{"ID":0,"Nome":"Geral","FormerNome":null,"UniqueID":"1b8ce78e-1129-44af-9a3a-fc6650efdf54","LockExpandGroup":false,"StartGroupExpanded":false,"LockPlantsSelection":false,"TemplatesImpressao":[{"ID":0,"Nome":"Planta de localização","FormerNome":null,"UniqueID":null}]}],"PrintLayers":[],"SelectAllLayers":false,"SendEmails":false}}] }