WELCOME TO THE COMMUNITY
find what you are looking for or ask a new question
Home > Forum > Latest posts

latest posts

Hi,

I have a question about the service configuration.

In the Services configuration -> Services -> Service_name -> Configuration tab, the database components are configured. How can I increase the number of action threads for timeout? I would like to parallelize several timeouts and not wait for the transition after each of them is completed. Do you have any idea for this?


Regards ;)

MVP
In reply to: Michał Bednarczyk

Hello,

The public constructor for the NewAttachmentData class is no longer available. It is described in section 2.3 in the migration document https://developer.webcon.com/2023/resources/Migration-document_2023.1.pdf
In version 2023, you need to use the GetNewAttachment method from DocumentAttachmentsManager.

Your code migrated to version 2023 should look like this:

var manager = new DocumentAttachmentsManager(args.Context);
NewAttachmentData newAttachmentData = manager.GetNewAttachment(Configuration.informationNecessary.FileName, fileMerge_Necorupt);

newAttachmentData.FileGroup = new AttachmentsGroup(Configuration.informationNecessary.GropuName.Split('#')[0], Configuration.informationNecessary.GropuName.Split('#')[1]);

await manager.AddAttachmentAsync(
new AddAttachmentParams() { Attachment = newAttachmentData, SkipPermissionsCheck = true, DocumentId = Convert.ToInt32(Configuration.informationNecessary.InstanceID) }
);

PS. Don't forget to use await when using asynchronous methods :)

Hi Raluca,

even so it's off-topic I want to remind you of a mail from WEBCON, you are probably aware of it and already taken appropriate measures.

___
In the upcoming system version (2024), we are implementing a mechanism to monitor whether SDK plugins come with authorized certificates. This is to ensure the security of the plugins created and used by our clients.

Therefore, if you are already creating or intend to create SDK add-ons (for yourself or your clients), please provide the key that signs the SDK add-ons you are creating (Public Key Token) via the support portal (through the business inquiry workflow)
___

On the other hand, we will now be required to build a new version for each WEBCON version now anyway.

https://daniels-notes.de/posts/2024/webcon-bps-2024-change-log#important-for-everyone

Best regards,
Daniel

MVP

Hi,

in some versions there was/is an issue that different time zone on server and client caused changing hours with every modification of the timeout.
I think I read about a fix in the change log in 2024.

@Andreia
If you really need 12:00 am then add the number of hours which was removed after the saving. In your case it would be 1 am.

Best regards,
Daniel

Hello,

The public constructor for the NewAttachmentData class is no longer available. It is described in section 2.3 in the migration document https://developer.webcon.com/2023/resources/Migration-document_2023.1.pdf
In version 2023, you need to use the GetNewAttachment method from DocumentAttachmentsManager.

Your code migrated to version 2023 should look like this:

var manager = new DocumentAttachmentsManager(args.Context);
NewAttachmentData newAttachmentData = manager.GetNewAttachment(Configuration.informationNecessary.FileName, fileMerge_Necorupt);

newAttachmentData.FileGroup = new AttachmentsGroup(Configuration.informationNecessary.GropuName.Split('#')[0], Configuration.informationNecessary.GropuName.Split('#')[1]);

await manager.AddAttachmentAsync(
new AddAttachmentParams() { Attachment = newAttachmentData, SkipPermissionsCheck = true, DocumentId = Convert.ToInt32(Configuration.informationNecessary.InstanceID) }
);

PS. Don't forget to use await when using asynchronous methods :)