Discussion Forums  >  Uncategorized

Replies: 4    Views: 225

IELTStestONLINE
Aspiring developer
Profile
Posts: 30
Reg: Oct 28, 2011
Auckland
300
12/27/11 06:30 PM (14 years ago)

Offline HTML in BT_Docs - how to reference in config.txt?

Hi all, I've looked through all forum posts I can see that are related and found some awesome stuff about taking my app completely offline, but am stuck on one thing - referencing the downloaded HTML file. This is what I've one: 1. Removed the dataURL and Report to Cloud URL 2. Copied the config file to Xcode 3. Downloaded a custom HTML screen I made on Buzztouch 4. Put the downloaded file in the BT_Docs folder 5. Dragged it into XCode (thanks to GoNorthWest for www.buzztouch.com/resources/Adding_Files_To_A_Project_v1.0.pdf) 6. Modified the config file in XCode to read dataURL:BT_Docs/customHTML-F4B08CC6C86E8FB957E3501.html, 7. Cleaned the project and rebuilt it That's when I get the message that 'Data for this screen has not been downloaded'. Sure I've probably just put the link in the wrong place / badly coded the Xcode config file or something equally simple, but I'm a bit stumped. Cheers all and happy new year! Patrick
 
IELTStestONLINE
Aspiring developer
Profile
Posts: 30
Reg: Oct 28, 2011
Auckland
300
like
12/27/11 06:31 PM (14 years ago)
Should have said - v1.5
 
IELTStestONLINE
Aspiring developer
Profile
Posts: 30
Reg: Oct 28, 2011
Auckland
300
like
12/27/11 07:11 PM (14 years ago)
Happens everytime - within 10 minutes of posting I find the answer. In case anyone else needs this - it shouldn't be 'dataURL' it should be 'localFileName'. Cheers all
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/27/11 07:43 PM (14 years ago)
Hi, Glad you were able to figure it out! Check out this document for even more info : http://www.buzztouch.com/resources/Understanding_App_Refresh_and_Offline_Apps_v1.0.pdf Mark
 
IELTStestONLINE
Aspiring developer
Profile
Posts: 30
Reg: Oct 28, 2011
Auckland
300
like
12/29/11 01:35 PM (14 years ago)
Hi GNW, Thanks again - I had been trying to take custom HTML offline; lot easier when you use HTML docs :) All the best for 2012 Patrick
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.