logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
vadimtv  
#1 Posted : Friday, October 17, 2025 9:21:28 PM(UTC)
vadimtv

Rank: Newbie

Groups: Registered
Joined: 4/20/2023(UTC)
Posts: 3
Russian Federation
Location: ufa

Hello
I'm extracting data in an XML file via datasource . I'm pasting it into the statistik.gtzip caption in the last name (last name first name) field. I need a script that will swap last name first name with first name last name.The text field where the last name and first name are displayed in this caption is called FIRST.txt. Please help, I'm a complete noob. I've spent the whole day trying to figure this out, but I still can't get it working. Even the AI ​​suggestions didn't help.
doggy  
#2 Posted : Friday, October 17, 2025 10:19:52 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,444
Belgium
Location: Belgium

Thanks: 310 times
Was thanked: 1005 time(s) in 829 post(s)
Originally Posted by: vadimtv Go to Quoted Post
Hello
I'm extracting data in an XML file via datasource . I'm pasting it into the statistik.gtzip caption in the last name (last name first name) field. I need a script that will swap last name first name with first name last name.The text field where the last name and first name are displayed in this caption is called FIRST.txt. Please help, I'm a complete noob. I've spent the whole day trying to figure this out, but I still can't get it working. Even the AI ​​suggestions didn't help.


Just switch the mapping between the title field and the datasource references
vadimtv  
#3 Posted : Saturday, October 18, 2025 2:38:54 AM(UTC)
vadimtv

Rank: Newbie

Groups: Registered
Joined: 4/20/2023(UTC)
Posts: 3
Russian Federation
Location: ufa


<PersonID>21561</PersonID>
<PersonName1>FAKHRITDINOV Sergey</PersonName1>

This data appears in XML format. DataSource defines it as a single row (one text field (FAKHRITDINOV Sergey)). The statistic caption shows it as a single text field.
I'm not allowed to make changes to the XML file
doggy  
#4 Posted : Saturday, October 18, 2025 2:45:37 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,444
Belgium
Location: Belgium

Thanks: 310 times
Was thanked: 1005 time(s) in 829 post(s)
Originally Posted by: vadimtv Go to Quoted Post

<PersonID>21561</PersonID>
<PersonName1>FAKHRITDINOV Sergey</PersonName1>

This data appears in XML format. DataSource defines it as a single row (one text field (FAKHRITDINOV Sergey)). The statistic caption shows it as a single text field.
I'm not allowed to make changes to the XML file


ok i misunderstood just like AI did

first you will have to retrieve the name through a title (examples in he "scripting for dummies" post)

than you can split up the name and concatenate them in reverse order and put them in your title
https://www.google.com/s...ceid=chrome&ie=UTF-8

some names might cause problems though
Users browsing this topic
Guest
Similar Topics
MIDI Input in Script VB.NET (3rd Party Software and Development)
by Hanz_Brech 1/22/2022 3:28:54 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.