UserDefDoc - html problem

If you think that something doesn't work in Aware IM post your message here
Post Reply
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

UserDefDoc - html problem

Post by weblike »

Hi,

I have this scenario:

1. UserDefDoc.Type = HTML
2. I upload the html with version1.html -> result is OK
3. Offline I change some design to version1.html (only some css)
4. Re-upload the new version1.html -> result NOT ok (the final document is displayed as plain text with tags visible as : <<TAG>>......)

I have thought that I've made some mistakes in html code, emptied the browser cache, tried with Chrome, Firefox, IE....etc...

5. I have created another UserDefDoc with same html from #4 --> the result is OK.

Can anyone reproduce this please?

thank you.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: UserDefDoc - html problem

Post by weblike »

Strange behaviour,

First thought is that something with cache, but no... I have emptied everything, also tried with Opera (never opened this UserDefDoc before)...

This is a bug?
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: UserDefDoc - html problem

Post by weblike »

Hi,

I'm having the same problem.

Has anyone experienced this?

Thank you....
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: UserDefDoc - html problem

Post by weblike »

Strange things happens with "EXPORT DOCUMENT" html.

IF I create a new UserDefDoc (html) everything is ok.

IF I change the html template for same UserDefDoc .... the exported html is not populated with data...I only see tags:

<<BO.attributes>><<BO.attributes>>
<<BO.attributes>><<BO.attributes>>................

Anyone have experienced this?
I will try to make a little bsv to demonstrate this issue.

thx.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
customaware
Posts: 2397
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: UserDefDoc - html problem

Post by customaware »

Have you tried using << >>
instead of << >>

Just a thought.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: UserDefDoc - html problem

Post by weblike »

eagles9999 wrote:Have you tried using << >>
instead of << >>

Just a thought.
This is what I use. If I create a new (virgin) UserDefDoc the html is displayed OK. If I change something in that html and I upload it again on same UserDefDoc, the document is NOT displayed ok.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
customaware
Posts: 2397
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: UserDefDoc - html problem

Post by customaware »

George, do you make the changes inside Aware with the View button or do you change the html file outside of Aware and import again?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: UserDefDoc - html problem

Post by weblike »

I make the changes outside AwareIM, in NotePad++

I cannot make it in AWIM, this does not make sense.Cannot Publish a new version every time I make changes to document templates.


I have a BO -> UserDefDoc with these attributes:
-UDD_Name
-UDD_Template
-UDD_Type
- TypeDoc (Plain Text: Invoice, Order, Receipt)

In my app I open the form for UserDefDoc and create/modify document templates like other Bo's. (name, type, etc.).
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Post Reply