Desktop version

Main > Forum > 1C:Enterprise Platform > Studying 1C:Enterprise platform > hello1C data processor

Forum

Search UsersRules
hello1C data processor
#1
Just came
Points:: 0
Joined:: Oct 9, 2012

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

Profile
#2
Just came
Points:: 0
Joined:: Oct 9, 2012

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...

Profile
#3
Guest
Points::
Joined::

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.

Profile
#4
Just came
Points:: 0
Joined:: Oct 9, 2012

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

Profile
#5
Just came
Points:: 0
Joined:: Oct 9, 2012

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?

Profile
#6
Guest
Points::
Joined::

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.

Profile
#7
Just came
Points:: 0
Joined:: Oct 9, 2012

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?

Profile
#8
Guest
Points::
Joined::

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!

Profile
#9
Just came
Points:: 0
Joined:: Oct 9, 2012

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

Profile
#10
Guest
Points::
Joined::

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

Profile
#11
Just came
Points:: 0
Joined:: Feb 5, 2013

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

Profile
#12
Guest
Points::
Joined::

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

Profile
#13
Just came
Points:: 0
Joined:: Feb 5, 2013

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

Profile
#14
Guest
Points::
Joined::

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

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.