|
POST
|
I have a Mac build machine running Catalina that I use to build our application for iOS and Android. The build is successful but I am unable to load the app on our devices. I get the following error on the iphone. "Needs to Be Updated. The developer of this app needs to update it to work" I need to continue to build and develop the app using AppStudio 4.4.77 as we don't want to make a major upgrade yet to the latest app studio. My code which uses the survey123 template will not work on the new version of appstudio above 4. What do I need to do for this build in order to get it to be able to load on a device. Here are my build environment specs. AppStudio 4.4.77 Xcode 11.7 QT 5.13.1 QTIFW-3.2.2 NDK 18 XCode Command Line tools for xcode 12 (latest that will load on Catalina) QT 5.13.1
... View more
10-13-2021
01:21 PM
|
0
|
4
|
1392
|
|
POST
|
I had to remove the font in order to get the scrambled/corrupt/glyphs from appearing. I also had to move my build back to AppStudio 4. I experienced too many issues with my Survey123 3.12 template code in App Studio 5. Notably some of the Nested Required Sections/Fields with overlap. Thank you for all of your help. I might post the instructions on building app studio 4 as I had to roll back my build server for a local make. I could no longer rely on the cloud make for my code until.
... View more
05-13-2021
12:23 PM
|
0
|
0
|
1027
|
|
POST
|
My App is built on the latest Survey123 template that was available before it was removed. I have built my app using AppStudio 5 and it all seems to work accept for one part. When I first open a survey with an expanded repeating group it appears as overlapped? When I contract and expand it it is fine again. I need to fix the xcode for this. It appears to be the only issue. On Survey Load After Expand Contract (I boxed out some of the categories to post it here)
... View more
05-11-2021
02:35 PM
|
0
|
1
|
615
|
|
POST
|
I have an app that I build off the Survey123 template in AppStudio. After the upgrade to the new version of appstudio 5.0.148. I upgraded and made builds for both iOS and Android. Now when I take a survey I get text like this in a number of places. I have not changed that Survey123 Code. The xStyle references. And my font is still Avenir Next LT Pro. See how all the text is scrambled? However, if I switch the font from Avenir Next LT Pro to Noto Sans in the settings the issues go away, but has survey123 changed its font? But then maybe it just isn't reading the font at all. It there a new version of the Survey123 Template for app studio that I can maybe get put into AppStudio. I could at least do a comparison then.
... View more
05-02-2021
06:45 AM
|
0
|
2
|
1085
|
|
POST
|
If I switch the font from Avenir Next LT Pro to Noto Sans in the settings the issues go away, but has survey123 changed its font?
... View more
04-30-2021
09:13 AM
|
0
|
0
|
1045
|
|
POST
|
I have an app that I build off the Survey123 template in AppStudio. After the upgrade to the new version of appstudio 5.0.148. I upgraded and made builds for both iOS and Android. Now when I take a survey I get text like this in a number of places. I have not changed that Survey123 Code. The xStyle references. And my font is still Avenir Next LT Pro. See how all the text is scrambled?
... View more
04-30-2021
08:06 AM
|
0
|
2
|
1073
|
|
POST
|
Thank you. I will have to come up with a better solution then. Much like OOB Pro has to alert user of a new version, i will need to use that logic for my esriaddinx file. I need users to be on the latest version autmatically and to get that version from portal or other url.
... View more
04-26-2021
07:12 AM
|
0
|
0
|
1273
|
|
POST
|
I currently have a custom config application that I install with a batch script to set the ConfigurationFolder to a network share drive that my worldwide users can access if they indeed do have that drive mapped. But since everyone is working remotely, this has become an issue. This runs in an install batch file, so users always have latest version reg add "HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Settings" /v "ConfigurationFolder" /t REG_SZ /d "V:\NetworkDriveExample\NetworkDriveExample" /f echo Configuration Registry Path Set I think this works most of the time, but I would like to move this to a URL that our users can access instead. That URL would be accessable on our network and not make me do this step. Alternatively, I would also like users to be able to manually reload the .proconfigx file from an "About" page if their version is out of date.
... View more
04-21-2021
07:30 AM
|
0
|
4
|
1301
|
|
POST
|
I tried to run 2 exports using your above Background method and I got the GPU error in ArcGIS Pro. I don't think it was a coincidence. I tried this with the same layout to see if I could process multiple exports simultaniously. Task btt = BackgroundTaskTemp.Run(TaskPriority.normal, () => testlayout.Export(PDF)); Task btt2 = BackgroundTaskTemp.Run(TaskPriority.normal, () => testlayout.Export(PDF2)); await btt; await btt2; This above is essentially what I am trying to do. A user selects multiple polygons, and I will export those as Maps to print. They can select 1 to 10 maps.
... View more
04-15-2021
03:13 PM
|
0
|
0
|
3733
|
|
POST
|
This looks very promising to what i want to do. The thing is, is that I might be updating say 1-10 layouts at a time, so what I want to do is export them all at once on their own background thread, then wait for them all to finish. So i think the only way to do that would be to save my "Updated" layout as a clone or something. Otherwise I will just be printing the last layout 10 times? So right now, in a loop i update the layout using polygon attributes, then export it, then move to the next. The export being the choke point. So for 10 exports it's 10x time. What i think your above process will let me do, is build up 10 layout clones in that loop, then export them all at once, drastically reducing the export time to 1x or 2x time. But I think I need to clone the layouts that I update the elements on, then export them, then dispose them.
... View more
04-15-2021
09:04 AM
|
0
|
1
|
3741
|
|
POST
|
This will be great to run in the background. However i cannot update past 2.5 yet. We plan on doing that real soon, but that is not an option right now. I might have to do a work around until we upgrade to 2.7 here in the next couple months.
... View more
04-14-2021
06:54 AM
|
0
|
3
|
3756
|
|
POST
|
That worked brilliantly. Exactly what I needed. I couldn't figure out how to update the elements and set them all at once using set definition. Now i need to find a way to export 10 layouts quicker. I am looping through say 10 polygons, adding the feature attributes to my layout template (using the great code above) and exporting them. This below export function will be my hang up now, as each call to export takes say (20-30 secs) private static async Task ExportLayoutToFile(LayoutProjectItem inLayoutItem, string inExportFileName)
{
try
{
await QueuedTask.Run(() =>
{
Layout testlayout = inLayoutItem.GetLayout();
if (testlayout == null)
{
return;
}
// Create PDF format with appropriate settings
PDFFormat PDF = new PDFFormat()
{
Resolution = 300,
OutputFileName = inExportFileName
};
if (PDF.ValidateOutputFilePath())
{
//THIS LINE IS MY HANG UP as I can't export multipls files at once?
testlayout.Export(PDF);
}
});
}
catch (Exception e)
{
LogError("PrintForm - ExportLayoutToFile - ", e);
return;
}
}
... View more
04-13-2021
01:07 PM
|
0
|
5
|
3767
|
|
POST
|
I cant get this to work async? I have a list of text elements from a layout (my print template), then loop through all of those textElements, get the name of the element, and change the text for that element to something from the users selected polygon attributes. Is there a way to mass or bulk update the text elements? i have to loop through and update about 50 text items for a layout template .pagx file. I have tried updating the text properties and just using the CIMTextGraphic, and both seem very slow (around 40 seconds to do them all in total. List<TextElementUpdate> textElementUpdates = new List<TextElementUpdate>();
foreach (Element ele in inLayoutElements)
{
if (ele is TextElement)
{
TextElement textElement = ele as TextElement;
string printTextValue = "";
if (string.Equals(textElement.Name, "MyFieldName", StringComparison.OrdinalIgnoreCase))
{
printTextValue = "PolygonAttribute";
}
else if (string.Equals(textElement.Name, "MyFieldName2", StringComparison.OrdinalIgnoreCase))
{
printTextValue = "PolygonAttribute2";
}
//Repeat for all 50 fields or so
//...
//...
//After each element is found add the change to the object to process all at once after the loop
CIMTextGraphic CIMTextGraphic = textElement.Graphic as CIMTextGraphic;
CIMTextGraphic.Text = printTextValue;
TextElementUpdate teu = new TextElementUpdate(textElement, CIMTextGraphic);
textElementUpdates.Add(teu);
}
}
//Update All the TextElements, this is slow to process about 50 text elements
foreach (TextElementUpdate teu in textElementUpdates)
{
teu.TextElementToUpdate.SetGraphic(teu.NewTextGraphic);
}
... View more
04-13-2021
07:17 AM
|
0
|
0
|
3774
|
|
POST
|
Also there could be a way around this if maybe I could update all the textelements for a layout with one call? Instead of looping through them and changing them. Can't seem to be able to do that in bulk.
... View more
04-12-2021
01:34 PM
|
0
|
0
|
3787
|
|
POST
|
I am attempting to update a layout template by iterating through the text elements and changing the values of the template to something about the users map/settings. I am able to loop through and change all the text elements, but I want to do all of the text elements at the same time. I have a list of all the elements and the changes I want to make to each of them, but they always seem to run syncronously instead of in parellel? What am i missing here? The SetTextProperties is slow so I want to do about al 50 updates in parellel? //I have a list of object TextElementUpdate and updates to them
var tasks = new List<Task>();
foreach (TextElementUpdate teu in textElementUpdates)
{
//Shouldn't this line happen instantly and the whenall will wait?
//This line I want in parellel, so like 50 running at once, instead it is sync
tasks.Add(teu.UpdateTextElement());
}
//Wait for all the tasks to finish
await Task.WhenAll(tasks);
//-------------------------------------------------------------------
class TextElementUpdate
{
public TextElementUpdate(TextElement textElement, TextProperties textProperties)
{
TextElementToUpdate = textElement;
NewTextProperties = textProperties;
}
public TextElement TextElementToUpdate { get; set; }
public TextProperties NewTextProperties { get; set; }
public Task UpdateTextElement()
{
return QueuedTask.Run(() =>
{
TextElementToUpdate.SetTextProperties(NewTextProperties);
});
}
}
... View more
04-12-2021
10:15 AM
|
0
|
9
|
3842
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-23-2018 06:49 AM | |
| 1 | 08-02-2023 08:28 AM | |
| 1 | 01-03-2020 10:54 AM | |
| 1 | 11-30-2017 06:41 AM | |
| 1 | 08-20-2018 01:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-22-2025
04:33 AM
|