| 
             
                POST		  
                
             
         | 
        
        
 
					
							     the missing link was to un-comment this line    sharing_draft.federatedServerUrl = my_federated_server    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		08-15-2019
	
		
		11:00 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                3429
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     that example is for a standalone server - one that is not federated with Portal. So when I run that it complains that the target server is not a standalone server - which is correct - its federated with portal. And yet when I use the federated option above I get the missing target server error. So either way I get an error that something is missing.    So now I need to figure out what i'm missing 😞    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		08-15-2019
	
		
		10:46 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                3429
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     Hi - I get an error on line 28 (exportToSDDraft) on my setup saying "missing target server" - there is no place to set the target server - we have both a  /server site and a /image federated with our portal. Can see why code above is confused - nothing is setting which server to publish too - ideas?   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-14-2019
	
		
		10:42 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                3
             
         | 
        
             
                
                    
                
                3429
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     when I use this sharing_draft = m.getWebLayerSharingDraft("FEDERATED_SERVER", "MAP_IMAGE", service) I get an error missing target server.     I'e signed in using my /portal url and my federated server is on a /server GIS site url. There is no-where to tell it the name of the target sever or url    thoughts? Trying to publish a Pro project file as a federated map image through code.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-14-2019
	
		
		10:11 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                7
             
         | 
        
             
                
                    
                
                9470
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     shortcoming here is that is only copys data over that is hosted in portal. Federated services are only copied as reference - so I assume you'd then need to re-publish the federated ones to the other portal and change the points. So not really a full enterprise clone process this, but rather just Portal content   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-14-2019
	
		
		06:59 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                5085
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     cancel that last comment - seems to be working now 🙂    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-14-2019
	
		
		06:32 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                2
             
         | 
        
             
                
                    
                
                5085
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     Thanks for the info - we've found we we can't use this when one of our source portals is internal (not externally exposed) as the admin assistant can't see the portal to connect - unless we are missing something    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-14-2019
	
		
		06:27 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                8
             
         | 
        
             
                
                    
                
                5085
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     I've seen the Clone Jupyter Notebook sample but this does not push the data across, just the items and still points back to the source portal.    I need to push the item and its data and have it re-published into the target portal. This could be hosted layers or federated arcgis services.     Apart from Collaboration - can this be done through the arcgis api? How could this be done for Federated ArcGIS Server services.   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-12-2019
	
		
		01:24 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                11
             
         | 
        
             
                
                    
                
                7425
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							     I've done the above but my jupyter notebook code still complains about a required item when creating the webmap instance. So points to the fact is still running on the old api version.    how do i get jupyter to see this latest api upgrade  how do i confirm in the notebook the version of the arcgis api it is reading?   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		08-30-2018
	
		
		01:55 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                2397
             
         |