item templates
Last Post 02-28-2011 09:17 AM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
sschlichterUser is Offline
going with the flow
going with the flow
Posts:44
Avatar

--
02-24-2011 07:29 PM

    I am having trouble getting a post into this forum.

    anyway, the text in the item template and the pdf template is getting cut short. is there some limit on the length of the text of the html template

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    02-25-2011 06:35 AM
    Hello sschlichter,

    I believe there's a limit on the template for PDF and the Item template. This is the table you can alter to make the size of the columns larger "DataSprings_DynamicViews" here are the column names that you will need to alter to nvarchar(max) -
    ItemTemplate and PDFTemplate.

    If you have any questions please let me know.

    Thanks,

    Ryan
    sschlichterUser is Offline
    going with the flow
    going with the flow
    Posts:44
    Avatar

    --
    02-26-2011 06:55 AM
    Hi Ryan,

    thanks for the reply.

    I tried changing to varchar(MAX) but am still having problems. When I paste the table into the PDF Template textbox, it appears fine. When I save it and run it. It cuts off the table and the pdf results are only the first few rows of the table.

    I thought perhaps, it was a max combined length of the row in the database, so I took everything out except the pdftemplate but I get the same results.

    One strange thing is that it does not cut off the html at the end. I am pasted a table and it is stripping out rows in the middle but leaving the
    close tag. I am not sure if it is stripping something out or the textbox control is just auto-supplying close tags.

    ~Steve

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    02-28-2011 09:17 AM
    Hello Steve,

    Does you successfully alter the table columns in the database to allow NVARCHAR(MAX)?? Don't mess around with a VARCHAR, because though the name is similar the data type was an NVARCHAR and many stored procedures rely on this data type, so changing the data type of the item template and pdf template columns can have a devastating effect on your Dynamic Views module instances.

    If you need help extending the size of these columns let me know and send temporary host rights to me at:

    rbakerink(at)datasprings(dot)com

    I will need a host user name, host password and the URL to your site.

    If you have any questions please let me know.

    Thanks,

    Ryan


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi