tridion-core-services

Error: Could not find default endpoint element that references contract

≯℡__Kan透↙ 提交于 2020-01-02 13:33:46
问题 I am writing a below code to create a MM component in tridion through core service, but i am getting error to run this service, public ComponentData GetNewMultimediaComponent(CoreServiceClient Client, string folderUri, string schemaUri, string title, FileInfo fi) { if (fi.Extension == ".png") { string mmType = GetMultiMediaType(fi.Extension); if (mmType != null) { string tempLocation = ""; UploadResponse us = new UploadResponse(); using (StreamUploadClient streamClient = GetConnection()) {

Error: Could not find default endpoint element that references contract

試著忘記壹切 提交于 2019-12-06 06:12:41
I am writing a below code to create a MM component in tridion through core service, but i am getting error to run this service, public ComponentData GetNewMultimediaComponent(CoreServiceClient Client, string folderUri, string schemaUri, string title, FileInfo fi) { if (fi.Extension == ".png") { string mmType = GetMultiMediaType(fi.Extension); if (mmType != null) { string tempLocation = ""; UploadResponse us = new UploadResponse(); using (StreamUploadClient streamClient = GetConnection()) { FileStream objfilestream = new FileStream(fi.FullName, FileMode.Open, FileAccess.Read); tempLocation =

How to update a PDF without creating a new PDF?

有些话、适合烂在心里 提交于 2019-11-26 02:26:33
问题 I am required to replace a word in an existing PDF AcroField with another word. I am using PDFStamper of iTEXTSHARP to do the same and it is working fine. But, in doing so it is required to create a new PDF and i would like the change to be reflected in the existing PDF itself. If I am setting the destination filename same as the original filename then no change is being reflected.I am new to iTextSharp , is there anything I am doing wrong? Please help.. I am providing the piece of code I am