B2016-204 – needed to pass in the document file extension when we create a new word document in converting a library document to a regular word section.
This commit is contained in:
parent
0f4378913f
commit
537ec8c2fe
@ -497,7 +497,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
// make new document with 'no' libtitle. Then link this to the item/content via the entry.
|
// make new document with 'no' libtitle. Then link this to the item/content via the entry.
|
||||||
// the data gets set below.
|
// the data gets set below.
|
||||||
Document tdoc = Document.MakeDocument(null, null, null, null, null);
|
Document tdoc = Document.MakeDocument(null, null, null, null, doc.FileExtension); // B2016-204 added doc.FileExtension
|
||||||
_MyDocument = DocumentInfo.Get(doc.DocID);
|
_MyDocument = DocumentInfo.Get(doc.DocID);
|
||||||
doc = tdoc;
|
doc = tdoc;
|
||||||
using (Entry ent = myItemInfo.MyContent.MyEntry.Get())
|
using (Entry ent = myItemInfo.MyContent.MyEntry.Get())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user