Wso2: cannot save parameters of DBReport or properties of the Log mediator - rest

Please tell what am I doing wrong?
I add parameters to the sql statement in DB Report Mediator and then click on Update, so that my parameters would've been saved, but when I reopen my DBReport, there is nothing...
After reopening:
Actually I'm creating REST API for the first time, does anyone have examples?
Is it even possible to do that without Integration Studio?
Thanks in advance.

The correct expression should be get-property() [1]. Can you try that.
[1]-https://ei.docs.wso2.com/en/7.0.0/micro-integrator/references/mediators/property-reference/accessing-properties-with-xpath/#get-property-function

Related

How to show message from custom function w/o using task pane or return value?

Is it possible to show a message (just a warning the user can dismiss) from code in a custom function without using a task pane? (And without making it the return value of the function.) Something that shows up in the status bar, or a popup, etc.?
And obviously, if so, how do you do it?
(Office.context.ui.displayDialogAsync isn't available from the custom functions context, not even in the shared runtime.)
Thank you for reaching us. So far we don't support it. I'd recommend going to Microsoft 365 Developer Platform Ideas Forum and see if this feature has already been requested or if request a new feature. Thanks for your support!

Is there any way to force to update metadata on Opensea?

I tried to change token base URL to display the new images of NFTs on opensea.io. But it is not updated immediately.
There is a way to update by specifying force_update=true on Rikeby testnet.
But I don't know how to update it on mainnet. Will it be possible?
Any help will be appreciated.
Try this :
https://api.opensea.io/api/v1/asset/<your_contract_address>/<token_id>/?force_update=true
please tell me if this works.
This method may not work on another mainnet example polygon.
Update: There is a manual refresh for metadata on opensea. One can always use that one too.

How to resolve this error - " One of the documents you are trying to access has been deleted, please try refreshing"? in Odoo v8?

Whenever I try to create an employee record in Human Resources, when I click Save, the above error occurs.
I checked in the database for any kind of ir-regularities and found that I have attached the screenshot.
As in the database error, the Autoincrement ID has been skipped as I have noticed.
Anyone with a clear insight on this, kindly suggest with what can be done. It would really grateful. Thanks
Create a new database if you can, and re install your module and try again.
Ok I am answering the question,
There was a custom module which I was not aware of(other than my custom module) and that was installed. UNinstalling it removed the error.

How to drawTextBlock in zend PDF

I using ZendFW 1.7.2 in my project and need to save PDF file. i am success for use function drawText but some of my data is too long so i need it break line. Now i get a solution from
http://devzone.zend.com/1776/creating-pdf-documents-with-zend-framework/
that use function drawTextBlock but when i test with it.It's can't success any always return errors
Fatal error: Call to undefined method Zend_Pdf_Page::drawTextBlock()
I think it's relate problem with something configuration ?Anyone used to success on it? please share it to me, I am looking to see your reply soon.
Thanks
DrawTextBlock is not existing in Zend Framework as it is a proposal for a improvement by Nico Edtinger. See: http://framework.zend.com/wiki/display/ZFPROP/Zend_Pdf+text+drawing+improvements+-+Nico+Edtinger
The solution provided on Zend Framework PDF multiline problems probably will help you further.

How do I use the Groups.pm in Request Tracker?

In lib\RT\CustomFieldValues\ there is the groups.pm file which is supposed to be an example of how to get data into a custom field, but how do I actually use that once I have written it? Does anyone have any documentation or a sample of this?
I have finally figured it out, to use the Groups.pm module you need to go to /opt/rt3/etc and edit the RT_SiteConfig.pm and add the line
Set(#CustomFieldValuesSources, "RT::CustomFieldValues::Groups");
Restart Apache and it will be available as a new field source.
I have written a blog post on doing this which also includes details on how to build your own module in case anyone is interested in doing this: AD Lookup Control in Request Tracker