hello1C data processor

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2012
Company: Net Lap Consulting GmbH

Hi,

I'm doing my first steps with your tutorial hello1C but my race stopps yet at page 31  :)
There's writen: In the opened data processor, find and select the file on the disk called “01-ContactTypes.xml.”

But in Figure 28 and Figure 29 there's the file "02-FriendStatuses.xml" shown.

For sure that is no reason for to start a thread but I can try both files - it does not work...

As discribed "Load finished" never occurs only the loading starts message is shown and a progress bar displays that something happens - that's all, the Contact keep empty ...

What's wrong here?

Regards

Andre

Edited: Andre Bergmann - Oct 10, 2012 07:24 PM
 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2012
Company: Net Lap Consulting GmbH

Update: This happens because of a different name I used insteal of ContactTypes.
So it had no relations during the import.
When I rename it to ContactTypes the loading process shows the finish entry.

However the ContactTypes list keeps empty as well...

 
#3
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hi, Andre!
The FriendStatuses.xml is the correct name for the import file if you import into FriendStatuses catalog. I've checked on the demo infobase which is installed with 1C:Enterprise platform training version.
1. Deleted all items in Friend Statuses catalog
2. Loaded from FriendStatuses.xml
3. Refreshed (F5) the list form
They appeared.

Same for ContactTypes catalog.

The naming error in the book we will fix. Thank you for the information.

 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2012
Company: Net Lap Consulting GmbH

Hi,

yes you're right - a restart solved the problem and the items are available (I think a refresh as you suggest should so, too).

Thanks for your support

 
#5
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2012
Company: Net Lap Consulting GmbH

Sorry one more Question ..
At page 52 is descripted how to create the cataloge "Events"
The lst attribute is the files "Description".
The error Catalog.Event: Invalid attribute name - Description occurs in this case.

As you can see in Figure 50 the attribute "Notes" is used instead which works fine.
I just like to know why an error occurs - is it a reserved word?

 
#6
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hi, Andre!

Thanks for your feedback, we will fix that issure too.

Description is a standard attribute which is built-in all catalogs. You can see the list of standard attributes by clicking Actions->Standard attributes in your catalog properties form.

 
#7
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2012
Company: Net Lap Consulting GmbH

When you try to import the XML now you get an "Error transforming XML data" .
I the XML structure the node is neither "Description" nor "Notes" called.
It looks that the tag is named "Details" there - but I found no way to import the data also not to rename the last field "Details".

Can you help ones more please?

 
#8
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Yes, you're right, the correct field name is Details. I have checked it by the demo application and 05-Events.xml file. We will fix that mistake in book. Thank you!

 
#9
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Oct 9, 2012
Company: Net Lap Consulting GmbH

And if you name the field Details the import works for you?

 
#10
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

You are right, Andre. The BeginDate attribute should be named as StartDate.

 
#11
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Feb 5, 2013
Company:

Hi,

I'm reading "hello1c.pdf" to learn 1C:Enterprise 8.2 programming environment. But at page 30 I couldn't go ahead. Because I couldn't find "LoadDataXML82.epf" file to run data processor. Where can I download this file?

Regards,

Mustafa Digdigi

 
#12
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Mustafa, you can find this data processor at the path where the configuration files are installed. For Windows 7 it will be: C:\Users\<your user name>\AppData\Roaming\1C\1Cv82\tmplts\1c\mken82\ext

 
#13
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Feb 5, 2013
Company:

Hi, Timofey

Thanks for reply.

Unfortunately at my windows 7 system, there is not a "tmplts" subfolder under the C:\Users\Mustafa\AppData\Roaming\1C\1Cv82 directory.

Regards

 
#14
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Then see demo.mk\ext folder in the 1C:Enterprise training version archive.
Attached it to the message for you.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.