cancel
Showing results for 
Search instead for 
Did you mean: 

Events for XmlFormsBuilder-Content?

Former Member
0 Kudos

Hallo,

within our installation we need to modify/add some metadata on newly created resources. Therefore, we managed to register to the ResourceEvents but just encountered that there are no events thrown on resources created by the XmlFormsBuilder like FAQ or News resources. Am I missing something within our ResourceEvent implementation or are there no events thrown? Is there another event broker for these resources like there is for timebased resources? If that isn't the case, is there any possibility of getting to know when a new XML-resource is created or modified?

Kind regards,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Christian,

check this thread which points into the same direction:

I would really be somewhat shocked if at the creation of XML forms the corresponding events wouldn't be thrown. We'll need a repository service reacting on such an event eventually in an upcoming project, too. At the moment, I don't have the time to check.

As already advised within the other thread, double-check your situation and eventualls open an OSS message. Please come back with any results.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

thanks for your response, I'm very sorry that I did not find the corresponding thread mentioned by you.

I checked the issue once more but there are no ResourceEvents for Xml-resources. Events are working within the repository location under test as for other resources within the repository the events are thrown properly.

Perhaps anybody knows this issue too? I understand your lack of time for testing this issue but perhaps someone else from the SAP site can have a look at it and verify/deny this setup?

Greetings

Christian

Former Member
0 Kudos

Hi,

an update on this issue. I was a bit to rash as there are events on creation of XmlForms resources. But it does not work completely as I cannot retrieve events on modification for these resources. Why could it be that these kind of resources are handled in a different way, sounds weird to me? Another point is that the content of these resources is not retrievable by resource.getContent() but by resource.getUnfilteredContent(). Why is this different handling necessary? I would suppose that all resources are handled in the same way by the portal.

Kind regards

Christian

detlev_beutner
Active Contributor
0 Kudos

Hi Christian,

> there are events on creation of XmlForms resources

OK, that calms me down a bit

> cannot retrieve events on modification

> for these resources

That sounds strange again. Here the same holds as said above: If this is a fact and you haven't overlooked something (maybe registered for the wrong event), you definitely should open an OSS message. That <i>should</i> work!

> not retrievable by resource.getContent() but by

> resource.getUnfilteredContent(). Why is this different

> handling necessary?

getContent returns the content which has run through all filters defined for it. It (more or less) returns what you see if you call the km.docs iView on a resource. See for some constraint.

The <i>getUnfilteredContent</i> returns - as the method says - the "raw" content, without any filter being applied.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Christian & Detlev

You mentioned that there are events on creation of XmlForms resources, could any of you please give some guidelines about which are those events. I’m trying to develop a repository service that listen every time an xml form is created or edited.

Regards,

Orlando Covault

Answers (0)