I am trying to use this function: SystemWeaver.Common.SWUtility.RvfzToDocX(System.Byte[],SystemWeaver.Common.IswBroker) It is documented in the SystemWeaverClientAPI.XML (Fileversion 1.5). When calling SWUtility.RvfzToDocX(item.Description, SWConnection.Instance.Broker) I get an error saying that "No method matches given arguments".
Do you know if I am doing something wrong or if the documentation is incorrect?
Inactive Zenuity
Hi,
I am trying to use this function: SystemWeaver.Common.SWUtility.RvfzToDocX(System.Byte[],SystemWeaver.Common.IswBroker) It is documented in the SystemWeaverClientAPI.XML (Fileversion 1.5). When calling SWUtility.RvfzToDocX(item.Description, SWConnection.Instance.Broker) I get an error saying that "No method matches given arguments".
Do you know if I am doing something wrong or if the documentation is incorrect?
Hi,
To get the Description content as docx, use:
docx = SWDescription.DescriptionToDocX( item.Description, SWConnection.Instance.Broker)
or, to use "RvfzToDocX" you need to give RVZF data of the Description:
System.Byte[] :Compressed RichView data
docx2 = SWUtility.RvfzToDocX(item.Description.Data, SWConnection.Instance.Broker)
for docx_byte in docx2:
print(docx_byte)
Inactive Zenuity
Hi,
To get the Description content as docx, use:
docx = SWDescription.DescriptionToDocX( item.Description, SWConnection.Instance.Broker)
or, to use "RvfzToDocX" you need to give RVZF data of the Description:
System.Byte[] :Compressed RichView data
docx2 = SWUtility.RvfzToDocX(item.Description.Data, SWConnection.Instance.Broker)
for docx_byte in docx2:
print(docx_byte)
- 
										
											Support for Autotest of API applications
										 
- 
										
											Major version exception in API
										 
- 
										
											Part multiplicity exception in API
										 
- 
										
											Get enum attribute value description
										 
- 
										
											Detecting connection status?
										 
- 
										
											Item type name from SID
										 
- 
										
											Adding an existing item as part to an item using C# API 
										 
- 
										
											Last Changed date isn't updating
										 
- 
										
											Script filer och API
										 
- 
										
											How do I return a DataTable instead of IswItems?
										 
See all 20 topics