Virtual workshop: Build your first AI-ready process
Find resources, discussions, and troubleshooting tips to design and manage workflows and business applications with K2 blackpearl.
Recently active
Hi, I'm not able tp deregister a customk control.This solution http://community.k2.com/t5/K2-blackpearl/Cannot-de-register-custom-control/m-p/70494#M20215 does not work for me. The designer website appears the message: "Could not load file or assembly 'LHTabControl' or one of its dependencies. The system cannot find the file specified." The deregister command does not work with this message:DeregisterControlType Failed: ControlTypeHasInstances,MyCustomControlProjectAGSystem.Data.SqlClient.SqlException (0x80131904): ControlTypeHasInstances,MyCustomControlProjectAG  at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object[] Parameters, Boolean[] NullList, MarshalMessageType CallType)  at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteSessionCall(String TypeName, String MethodName, Object[] Parameters, Boolean[] NullList)  at SourceCode.Forms.Management.FormsManager.DoSessionCall(String method, Object[] parameters, Boolean[] nullList
Can someone point me to the documentation on how to restrict permissions to an Editable list view for a SmartObject? I've tried restricting permissions via Management, but the user that is testing can us the editable list URL to edit. Any advice on what am I doing wrong? Thanks!
Hello guys. I want to know if there's an easy way to change the text generated by the Worklist Task. Or how can I customize that?  Thanks in advance. Here's the item that I want to edit.  Regards.
Hi, is it possible wo write in the K2 Logs from custom code like a custom service broker or a assembly used in custom code event?Does anyone know best practices or any tips for logging in such custom K2 solutions?  Thanks in advance, Andreas
Hello guys. I have two questions about escalations 1. I know that is possible to redirect a task to another person... but, is there a way to redirect that task to an especific person? What I need to do is that when a person doesn't complete the task, the task should be redirected to the direct boss of the person that the task was send first. Then if the task remains undone by the direct boss, it redirects again to the boss of the new person in charge of that task.  2, Is there a way to create a dashboard to view all the escalated task of a user from all his/her workflows? To be able to see what users have an escalated task from an especific workflow.  And to check if it's the first or the second escalation.  Do you know if there's a simple way to do this?Thanks in advance.Regards!
Hello All, Where can I officially submit feature requests? I don't see that as an option on the support request form (where you'd normally see it?). Does K2 NOT accept feature requests? Do I have to submit them as Support tickets? Thanks,-tomas
Hi All Does anybody have any code which could be used to de-select an item(s) from a smartform list viewIn the project I'm building a user will select an item or items from a list view but then I need to be able to delect those items if some conditions are not met. I cant see any out of the box options in K2 to do this so wondering if some script could be used? Any help much appreciated Paul
I have create followings views header view footer view left navigation view view 1 view 2 view 3 And i want to place the above view in the form as per the attached image In the existing out of box smartform layout how can achieve the above. also I tried with table and i cant able to drag and drop the views on the table.anyone help on this. Â
Hi. Does anyone have a strategy for deleting the temporary files in the AppData-folder? We've currently passed 5GB, and the folder was emptied out a little over a year ago.I'm pretty confident deleting the files doesn't cause any harm, but does anyone have any input on this? Thanks  Â
Please see error on snapshot.
Hi All, Is it possible to do Virus Scan before saving the file to Database. Thanks in Advance Regards,Hemant
How do I get a workflow ID?
I'm getting a bit desperated.Recently, there has been an issue with Smart Object List methods over and over again. Affected are only smart objects that have a decimal field and only the list methods. After restarting the K2 service, the error is gone. After some time, however, the error occurs again. I can not detect any errors in the logs and can not recognize the cause. Has this error ever occurred to someone?We are using version 4.7 with the latest fix pack. The attached hardcopy shows the error message when trying to execute the list method by smart object tester.The error message below occurs by the smartforms: Type: System.FormatException Source: mscorlib Method Base Member Type: Method Name: StringToNumber Module Scope Name: CommonLanguageRuntimeLibrary Declaring Type Full Name: System.Number Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)at System.Nu
Hi ALL, Currently have an issue around starting a workflow from a form. Each time I try to trigger the "Start a Workflow" Event, i keep getting the error below; " Value was either too large or too small for an Int32 " I have checked the values that I am passing into the workflow datafield, and ensured that the datatype is same. Still have the same issue. Not quite about what the issue may be. Will really appreciate an answer Pronto. Thanks all...
I know forms can do tabs at the top, but there seems to be no option for tabbing things in the middle of a view, so I made a tab menu through a data label.However when I click one of the tabs I want it to click an invisible button (since I figured it would be easier than figuring out how to launch a rule directly)These are the JS commands IÂ have tested but the button is never clicked:$( '[name="ButtonName'"] ').click();document.getElementById("ButtonName").click();Â var dsmButton = document.getElementById("ButtonName");dsmButton.click();Â Neither of those examples worked for clicking the button, and I am not sure why.The html in the data label renders fine and just to test it I did a document.write("test");and that worked, so I know the script is executing. Does anyone know how to trigger a button click through js?
i was having this error on k2workflow "SmartObject Property ID is a required property for selected method Execute", the worflow was build in K2 studio.please kindly help with thisthanks
OK so i'm basically suffering on the limitations of the K2 for SharePoint App. Some vital things I'm having to create using PowerShell scripts (which execute REST calls to SharePoint) are stuff like list counts and viewing if Documents are open by users and locked for editing (not checked out). For example - in SmartForms you're expected to retrieve all the items of a list (potentially thousands) to a page and then perform a count using a list aggregator in an expression. This is daft and not what the browser is intended for. Anyway - I've decided to go down the route of creating a Service Instance for the REST Service Type. I've generated a Swagger Descriptor file based on the REST API method for "ItemCount" which returns a single JSON object coutaining the item count (surprisingly). The URI looks a bit similar to the following and works great in a browser, Fiddler and Postman: /_api/web/Lists/getbytitle('MyList')/ItemCount Now i'm able to create the Service Instance and generate the
The problemI have a problem trying to close a dialog box. Details1. Page /sites/site1/Pages/Dashboard.aspx opens a dialog box using SharePoint Modal API (SP.UI.ModalDialog.showModalDialog)2. The dialog opens the url /sites/site1/Lists/OutputRequests/NewForm.aspx3. K2 redirects the page to https://k2dev.idmdevnet.local/Runtime/Runtime/Form.aspx?_Name=... When the page is successfully submitted or canceled we get "Form submitted successfully" and then the user has to manually close the dialog, which we wanted to be done automatically. - The SharePoint APIs are not longer available since the page is not in the K2 application/domain- window.close and window.parent.close will throw "Scripts may close only the windows that were opened by it."- the close window rule doesn't close the dialog SpecsK2 4.16060.2000.1SharePoint 2013 15.0.4849.1000 Related threads SmartForm rule action "close the browser window" leaves the browser tab open to a blank pagehttp://community.k2.com/t5/K2-blackpearl/Sma
Is there a possibilty to select a row in list view programmatically (via rule or javascript code), so that the item click event will be fired? E.g. select the row with id = 1234.One thing to mention: a "list item click"-method exists for a view, but there a no input mappings for it. So, what is it good for?Â
Hello there, I'm looking to use a workflow to get the users belonging to a SP2013 permission group, then create a task for each one of them, so that they can complete the task assigned to them asynchronously. I know how to do it for a list, but not a SP permission group. I'd prefer to accomplish this workflow using K2 Designer, but K2 Studio works just as well. Thanks in advance for your assistance! Best Regards,Che
Hi All, I have a workflow up and running. In one of the view, I have a Check box list control, which allows multiple selections. I need to change it to single selection. I am wondering what is the best way to do that? Do I need to change control type? If yes, what will be its impact on form (rules)? Thank you!
I have a list created by a smartobject which is integrated with SP on prem. Once an item has been approved, I want t take certain data elements from that smartobject and added it to a SharePoint Calendar. I have no idea where to start for this last part. I am running version 4.7 at the moment and my SP is 2013
Hi, i have a K2 server on my DMZ, the k2 serveice is stuck on starting and the only error i see on all logs is as follows, any help will be apreciated. 0 System.Data.SqlClient.SqlException (0x80131904): Procedure or function 'hServerUpdate' expects parameter '@EnvironmentGUID', which was not supplied.at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()at System.Data.SqlClient.SqlDataReader.get_MetaData()at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String res
When I select "View Flow" from an instance I get directed to "https://forms.usd.edu/ViewFlow/ViewFlow.aspx?ProcessID=186" I need to get directed to "https://workspace.usd.edu/ViewFlow/ViewFlow.aspx?ProcessID=186" It looks like its configured to do this within the Environment, but I'm still getting directed to "forms" rather then "workspace". I have also found this article, but it doesn't give a specific "web.config" to edit. As there are a few of them within the server. Any ideas? Thanks,
1.Is it possible to show files that are stored file system on Windows on Smartform using "Content" control?2. Is it possible to store attachment files in a directory on file syste? Requirement is, scanned PDFs will be stored on a windows server. I need to show them on Smartform. Another requirement is, user will attach file on Smartform and they should be saved in file system in same directory.Thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.