|
POST
|
1. Make some available to specific users in groups that I have set up. (not a problem for our 12 users) 2. Make some available to everyone. (also not a problem) 3. Make some available to everyone in my organization which is more than 12 people. (I am having a problem doing this) For #1, I imagine that you are simply creating a Group within Portal and then assigning access to it for each of the 12 users. For #2, I imagine that you are simply creating a Group within Portal and then assigning access to it using the "Everyone" checkbox. For #3, it almost sounds like you want to provide access to non-Portal users... is that correct? In other words, this would be an expansion of #1 above for a different Group of content. If I am understanding your needs correctly, then you can't allow the consumption of Group content within Portal to individuals who do not authenticate with a Portal account despite allowing anonymous access via the Edit Settings section of Portal. Even if you were to put the desired content out on the homepage of Portal and make it part of the featured maps and apps for "all" to see, users who initially access Portal must still create an account to view content within any Group (featured maps and apps Group included). If you're using Integrated Windows Authentication (IWA), then anyone on the domain who initially requests the Portal URL for the very first time will get a Portal account automatically generated. If featured maps and apps are shared to Everyone, then technically anyone on the domain could then get to those maps you wish to publish as part of #3. So in theory, this might be the only way or workaround to achieve #3 above. If you're using the built-in user store for Portal, then you must first create an account for each person who will log in and then assign them access to the group of content you wish to share (including featured maps and apps, as an example). ** Keep in mind that the functionality by which users can auto-generate a Portal account upon initial request of the Portal URL for the first time, this is default behavior that cannot be changed at 10.2. However, this functionality is not default behavior at 10.2.1 but is configurable to be enabled.
... View more
12-27-2013
04:50 AM
|
0
|
0
|
656
|
|
POST
|
I'm sorry that I wasn't able to help you. Perhaps your next step could be Esri technical support. Based on all of the information known to dart, a few suspicions on my part would be the use of one or more periods in the host name, the use of numeric characters in the database name, and the use of numeric characters in the SDE connection file name. I'm not sure if any of these suspicions would lead you down the path to a solution but hopefully they will. Good luck!
... View more
12-25-2013
03:02 AM
|
1
|
0
|
1824
|
|
POST
|
Hi William, I have followed the manual process and able to see the database registered. But when I click on "Validate All" it is invalidated,this could be because of wrong password. But there is no way to edit the password. Can you try to click the Edit Registered Database button and modify the connection parameters in there? It should be the button right under the X button in the Data Stores UI. Please re-enter the password and then save the changes. See screenshot... [ATTACH=CONFIG]30105[/ATTACH]
... View more
12-24-2013
10:59 AM
|
0
|
0
|
1824
|
|
POST
|
After some sleep, I think I'm able to take another stab at this. See the attached arcgis-dataspace.xml file (just change the extension from TXT to XML and view with Notepad++), which is an example file that you can use/modify after backing up your original if you wish. I think to manually register the enterprise geodatabase manually as I suggested earlier, you would need to create an "enterpriseDatabases" item entry as seen in my example file. I've also included a "fileShares" item entry as well for a folder called C:\data\content so that you can see what a registered folder looks like too. Using the info you provided, I substituted your parameters in place of mine to show what the enterprise geodatabase item entry should look like. The only issue would be the password, which AGS encrypts automatically upon successful registration. I'm not entirely sure how you might get past that issue, since neither of us will really know what your encrypted password would look like. I've made it all zeros for now. You could try adding this item entry to your file, then restarting the Windows service for AGS, then going back into ArcCatalog and re-saving your password in the SDE connection file properties, and re-validating your already-registered data store by clicking the Validate button under the Data Store section of Server Properties. That might work as it could re-set the encrypted password to the correct value for your environment. I'm not sure if this will work, but it's possibly worth a shot. If it doesn't validate, click the Edit Registered Database button and modify your connection information from there. Then click OK and try validating again. As a last suggestion to register your data store using the ArcGIS Desktop tools, I would say to create a TNSNAMES.ora file entry for your database named m12yd223 and then specify m12yd223 as the only value in the Instance field afterwards. If the issue truly is the length of your host name or the inclusion of periods in the string, this may be a good work around.
... View more
12-24-2013
06:00 AM
|
0
|
0
|
1824
|
|
POST
|
Makes sense, yes. That's kind of why I made my comment above about requiring the map document versus not. I'm very glad that you got things working. Good luck and happy holidays.
... View more
12-24-2013
04:00 AM
|
0
|
0
|
1987
|
|
POST
|
Hi William, rws3260455.us.oracle.com is oracle 11g db host name. 1521 is db port m12yd223 is Oracle SID. I ahve referred link http://resources.arcgis.com/en/help/main/10.2/index.html#/Database_connections_in_ArcGIS_for_Desktop/019v00000003000000/ and provided Instance as rws3260455.us.oracle.com:1521/m12yd223 With this syntax I am able to succesfully create datbase connection in Desktop but registering the database with gis server fails. Is there any other setup that we need to do for this .Please suggest. The only thing I can't think of at this point is that the host name you're using is simply too long for data store registration despite working when connecting in general. Perhaps manually registering the data store might work. Locate the xml configuration file: ...\config-store\data\arcgis-dataspace.xml under the ArcGIS Server set of folders and add an entry manually under the /fileShares section; then save and restart the ArcGIS Server service.
... View more
12-23-2013
05:19 PM
|
1
|
0
|
1824
|
|
POST
|
The ultimate goal is to add in a few feature classes, symbolize them on a previously created and saved ".lyr" file and then do some other processing. I will also say that, if your ultimate goal is to perform data processing, then you are not required to add your data to a map document. You can use the GP tools via arcpy and output the resulting data directly to the desired format and skip the map document entirely. However, if you require the map document for analysis and cartographic purposes, then disregard this specific post.
... View more
12-23-2013
02:32 PM
|
0
|
0
|
1987
|
|
POST
|
As far as the part where you wish to add the feature class to your TOC, please refer back to my post and run through the various suggestions. Let me know if any of those work.
... View more
12-23-2013
02:24 PM
|
0
|
0
|
1987
|
|
POST
|
It looks like you're trying to add a Feature Layer directly to the table of contents in ArcMap; I'm not 100% sure you can do that. Is there a specific reason why you're creating a feature layer from your feature class? If you're open to doing so, please try the following? arcpy.MakeFeatureLayer_management(FeatureClassToAdd,tempLayer) -- remove this line
addLayer = arcpy.Layer(FeatureClassToAdd) -- modify "tempLayer" to FeatureClassToAdd
arcpy.mapping.AddLayer(df, addLayer, "AUTO_ARRANGE")
arcpy.RefreshTOC() Let me know if this works for you or not. EDIT: Ok, I did some research and I think your approach to using a feature layer might in fact be correct. That being said, if my suggestion above doesn't work then you might try this as an alternative: GeoDatabaseName = "G:\Documents\GIS\HydstraData\HydstraMeasurementsDeep\HydstraMeasurementsDeep_GroundwaterElevation_Daily_Contours_20130625_20120731.gdb" -- change the \ slash to a / slash
FeatureClassToAdd = os.path.join(GeoDatabaseName,"AllPoints") -- it looks like you are appending "AllPoints" to the geodatabase full path; is "AllPoints" your feature class name? I think you might need a slash between the ".gdb" and the "AllPoints" for this portion of the code. Try modifying "AllPoints" to "/AllPoints" or "\AllPoints".
... View more
12-23-2013
02:06 PM
|
0
|
0
|
1987
|
|
POST
|
HI William, I don't see service parameter,but I see "Instance" and the value I provided is rws3260455.us.oracle.com:1521/m12yd223. This is Oracle 11g db host,port and sid. Do you think there is something wrong in this. Is m12yd223 the name of the server? Is rws3260455.us.oracle.com the exact name of your Oracle service? Perhaps I have them reversed; not sure. In any case, I've not seen a connection string syntax like that before when configuring geodatabase connections. Can you try the following combinations in the Instance field? If rws3260455.us.oracle.com is the Oracle service name... then try rws3260455.us.oracle.com or rws3260455 in the instance line. If m12yd223 is the Oracle service name... then try m12yd223 in the instance line. Are you using the TNSNAMES.ora file to store your various database connections by chance? If not, you may need to create an entry for your Oracle service name in that file on the client machine and on the server (also, don't forget your LISTENER.ORA file too) and then try again with the options I specified above. If you modify the LISTENER.ora file, restart the listener service before attempting to reconnect.
... View more
12-23-2013
12:48 PM
|
0
|
0
|
1824
|
|
POST
|
Nope. You have to specify all of the fields you want returned OR you get them all. To make life easier, though, you can copy and paste the field names you want returned in your query. To get the list of available fields to copy, you can view the properties of the layer from your service in the REST API and just delete the unwanted fields and text. From your service, click the Layer Name / ID you wish to "filter" and then scroll down toward the bottom to get the Fields section. Copy all of it to something like Notepad, then delete the extra stuff and bullets you don't want. You can then insert the trimmed-down, comma-separated list of fields into your REST query.
... View more
12-23-2013
11:52 AM
|
0
|
0
|
677
|
|
POST
|
So for the "Service" parameter in the Geodatabase Connections properties of your SDE connection file, what is the value you're putting in? Is it only the TNSNAME or is it sde : oracle11g:TNSNAME or could it be sde : oracle11g:TNSNAME;port_number ? If your service value has a colon or semi-colon then try to remove it and just use TNSNAME to see if it connects without an error.
... View more
12-23-2013
11:02 AM
|
1
|
0
|
2530
|
|
POST
|
If ArcGIS for Desktop 10.2 and ArcGIS for Server 10.2 are installed on the same server, you will need to make sure that both the 32-bit and 64-bit Oracle clients are also installed on the server. Is that the case? The PATH environment variable must have the 64-bit client listed first before the 32-bit client. Please verify this.
... View more
12-23-2013
09:30 AM
|
0
|
0
|
2530
|
|
POST
|
Can you please verify that the version of your Oracle client matches that of your database? You say that you have an Oracle 11g database, but you need to first make sure that your client is of the same of later version. If your database is 11g R2 (as an example, 11.2.0.2) but your client is 11g R1 (as an example, 11.1.0.9) or 10g (as an example, 10.2.0.1) then you could run into issues. Also, have you installed the full version (administrator) of the client or a different version? If the above doesn't help, then refer to the following... Which versions of ArcGIS Server and ArcSDE are you using? Is SDEHOME correctly defined in the environment variables? (From command prompt, type echo %SDEHOME%) For the SDE connection file you're using to register your enterprise GDB as a data store, does it use an ArcSDE application service or does it use EZCONNECT? (If EZCONNECT, is your Oracle instance configured for EZCONNECT?)
... View more
12-23-2013
08:47 AM
|
0
|
0
|
2530
|
|
POST
|
Thank you very much, William. You were exactly right about the default roles. Ivan I'm glad it worked out for you. Please mark the correct answer using the green check so others with the same challenges can identify the solution. Have a great day!
... View more
12-23-2013
05:54 AM
|
0
|
0
|
7293
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 04-05-2014 04:11 PM | |
| 1 | 02-19-2014 11:03 AM | |
| 1 | 04-07-2014 12:32 PM | |
| 1 | 04-03-2019 01:46 PM | |
| 1 | 03-31-2021 04:44 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-13-2025
07:13 PM
|