cancel
Showing results for 
Search instead for 
Did you mean: 

Obscure Folder File List Problem

Former Member
0 Kudos

I am new to the images being stored inside of xMII, so there may be some unknown (to me) NW mechanism at work here.

I am storing original copies of default images in a ProjectA/WEB folder named images.

When moving some of the files to new folder locations, I first use the Get File List action block and map the folder to "web://ProjectA/images/" and to some Mask such as "*.png" or

"*7DayChart.png" or

"First*.png". I have several images of each type specified in the images folder so each time this executes, it should return a list of images.

"*.png" returns all the png type images in the folder.

"*7DayChart.png" returns all the 7DayChart.png images in the folder.

"ProcessADailyChart.png" returns ProcessADailyChart.png

But

When I run "First*.png", I get none of the three image files there. I also tried it with

"First.png" with the same incorrect empty list. Also

"irst.png" does not work. Also tried using "%irst%.png" just to be safe. Same results.

It is not a big problem as this is only used in development, but it is odd behavior. Has anyone else run into this issue?

Thanks,

Mike

Edits:

And now this window here is deleting the asterisk and bolding the quoted string in random places. What the heck is going on? Maybe the random substitution is also going on in the Get File List?

Edited by: Michael Appleby on Apr 14, 2008 10:55 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

The path to store on netweaver should be

db://<Project Name>/WEB/<folder name>. So u should store them in

db://ProjectA/WEB/images

and read from the same location.

During reading specify the same path . The wildcard wordks fine.

Hint. If you have access on netwaever physical folder you can also see the images on server to make sure u stored them correctely.

Thanx

Vinod

PS : Do not forget to award points.

agentry_src
Active Contributor
0 Kudos

Vinod,

Thank you for your suggestions. However the issue is not the folder path. The issue has to do with the strange behavior of the wild cards in the mask. The folder path does not affect that.

If there is a single alphanumeric character in front of the wildcard, the wildcard is ignored. If the wildcard comes first, then it executes properly.

Thanks,

Mike

Former Member
0 Kudos

Sounds like a bug to me.

agentry_src
Active Contributor
0 Kudos

That is my thought as well.

Former Member
0 Kudos

Hi Michael,

I did not try the same. But If it is true I will say limitation rather than bug. We have used wild card(without characters) and after reading the wildcard you can filter the filenames from ithe output of getpath action block. If you feel that still does not solve u r problem, raise it to SAP.

Thanx & Regards

Vinod

agentry_src
Active Contributor
0 Kudos

Vinod,

My definition of a bug is that something that used to work stops working when you upgrade.

I have had many GetFileList action blocks working in 11.5 using the wildcard as I specified.

In 12.0, it fails to execute the same configured action blocks in the manner which 11.5 worked. I was fortunate that I have not had to migrate any of my original 11.5 work with GetFileList action blocks.

I will follow up with SAP as you suggested.

Thanks,

Mike

Answers (0)