在UI Designer中从局部变量和业务变量生成表(Generate a table in the UI Designer from a local variable and from business variable)
我有一个连接器,从Bonitasoft的外部数据库中选择数据,我能够将此选择的结果分配给一个过程变量,并在输入类型字段的UI设计器中显示该变量的内容,但是我需要显示这在一个表中,因为我在UI Designer中配置它以在表中显示我的过程变量的内容,如果可能的话一步一步显示谢谢。 另外,我还可以将连接器的内容传递给业务变量,然后在需要时也在UI Designer中显示
I have a connector that selects data from an external database in Bonitasoft, I was able to assign the result of this select to a process variable and display the contents of that variable in the UI Designer in an Input type field, however I need to display this in a table, as I configure This in the UI Designer to display the contents of my process variable in a table, if possible show the step by step thank you. Another thing as I can also pass the contents of my connector to a business variable and then display in UI Designer also if needed
原文:https://stackoverflow.com/questions/41962776
最满意答案
我修正了它...我使用的是dd()(因为我只是测试数组的输出),并且我通过将它作为普通数组返回来切换。
I fixed it... I was using dd() (since I was just testing the output of the array), and I switched just now by returning it as a normal array.
相关问答
更多-
有没有办法使用他们的API来重命名Bitbucket上的存储库(Is there a way to rename a repository on Bitbucket using their API)[2019-10-26]
根据https://confluence.atlassian.com/display/BITBUCKET/repository+Resource+1.0 : PUT https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug} --data "name=new name" 这允许更新存储库的可见名称。 According to https://confluence.atlassian.com/display/BITBUCKET/r ... -
要不返回空白页,您需要编写 echo curl_exec($curl); 或删除此行: curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); To not return a blank page, you need to write echo curl_exec($curl); or delete this line: curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
-
您需要为API提供oauth_callback ,如下所示: r = service.get_raw_request_token(params={'oauth_callback': 'http://example.com/'}) 这应该让你从提供商那里得到适当的回应。 You need to give the API an oauth_callback, like so: r = service.get_raw_request_token(params={'oauth_callback': 'http:/ ...
-
你错过了-u标志,base-64编码你的"client_id:secret"字符串,并将其设置在Authorization标题中。 要在PHP中实现其效果,请设置CURLOPT_USERPWD选项。 在这里阅读更多。 You're missing the -u flag, which base-64 encodes your "client_id:secret" string and sets it in the Authorization header. To accomplish its effect ...
-
我现在已经实现了一些东西,您可以获取存储库列表,但您也需要access_token。 你可以参考文档 。 希望这会对你们有用。 I have achieved something now, You can get repository list but you need access_token as well. You can refer documentation for that. Hope this will work for you guys.
-
该API适用于Bitbucket Server(内部部署版本),仅适用于您使用的旧版本。 https://developer.atlassian.com/static/rest/bitbucket-server/4.13.0/bitbucket-comment-likes-rest.html#idm45451308864416适合您吗? That API is for Bitbucket Server (the on-premise version), just for an older version t ...
-
服务资源可能会帮助你。 创建一个POST服务示例: curl -u tutorials:8798987 -X POST https://api.bitbucket.org/1.0/repositories/tutorials/testrepo/services/ -d "type=POST&URL=https%3A%2F%2Fbitbucket.org/post" 这将创建一个新的POST挂钩,其中https://bitbucket.org/post为URL: { "id": 5, "se ...
-
它看起来查询包含一个额外的%2F字符 - 该字符串解码为"TEST-BRANCH/" 。 删除那个%2F ,你应该好好去。 It looks the query contains an extra %2F character - the string decodes to "TEST-BRANCH/". Remove that %2F and you should be good to go.
-
我修正了它...我使用的是dd()(因为我只是测试数组的输出),并且我通过将它作为普通数组返回来切换。 I fixed it... I was using dd() (since I was just testing the output of the array), and I switched just now by returning it as a normal array.
-
我创建了一个PHP库来执行此操作,您没有说明您的网站所使用的语言,但此插件将执行创建简单错误提交表单的基本工作,使用Basic Auth向BitBucket API发送POST并将使用错误#(以及错误的可选URL)向用户发送一封很好的确认电子邮件。 用户无需登录...您在服务器上的代码就是这样做的。 它在这里: http : //syntaxseed.com/project/bitbucketphpbuglib/ I ended up using Basic Authentication with gene ...