my skin doesn't detect subfile

Use this board to ask questions or have discussions with other Genie users.
Post Reply
devdevdev
New User
Posts: 3
Joined: Mon May 06, 2013 7:28 am
First Name: moise
Last Name: moise
Company Name: free
City: dakar
Country: Senegal
Contact:

my skin doesn't detect subfile

Post by devdevdev »

Hi, my skin doesn't detect a subfile when it just has one line. It detect it when the subfile has many lines.
Thanks
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: my skin doesn't detect subfile

Post by Scott Klement »

It's important to remember that Genie doesn't know for certain where a subfile is. The system just sends a screen with text on it for Genie to show to you. Based on where the text lies on that screen, Genie tries to guess whether there's a subfile, and style the screen appropriately.

There are options on each screen (as well as skin-wide in the Genie Administrator) where you can enable/disable subfile detection and pattern detection.

If subfile detection is turned off, it definitely won't find any subfiles. Make sure that it is turned on, at least for this screen.

If subfile pattern detection = true, Genie will search for repeating lines on the screen. It detects that a subfile is found when there are lines containing the same "pattern" (same fields) repeated on multiple lines.

If subfile pattern detection = false, Genie looks for common Subfile headers such as "Opt", and footers such as "More..." or "Bottom". It uses these to determine where a subfile is, and then styles it appropriately. You can configure the headers it looks for in the Genie Administrator.

Is it possible that you have subfile detection turned off? Or that you are using detect patterns, and there's only one line, and therefore it can't be detected? Or maybe that you have patterns turned off, and your subfile doesn't have the headers that Genie uses to detect?
devdevdev
New User
Posts: 3
Joined: Mon May 06, 2013 7:28 am
First Name: moise
Last Name: moise
Company Name: free
City: dakar
Country: Senegal
Contact:

Re: my skin doesn't detect subfile

Post by devdevdev »

Thanks a lot
cproctor
New User
Posts: 11
Joined: Thu Jun 12, 2014 1:59 pm
First Name: Chris
Last Name: Proctor
Company Name: Columbia Sportswear Co.
Phone: 5039851509
State / Province: Oregon
Country: United States
Contact:

Re: my skin doesn't detect subfile

Post by cproctor »

Scott, I'm having the same problem. I have a screen that only has one line displayed, so it is not detecting it as a subfile. I went into Genie Admin and changed the "detect pattern" off and not only did it still not find the subfile, but it made all my other subfiles not detected, so I turned it back on. Is there any way of adding a grid or something and doing it manually?
Chris Proctor
Columbia Sportswear Company
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: my skin doesn't detect subfile

Post by Scott Klement »

You can drag a subfile widget from the widget toolbar in the designer.

If you do that, I woudl turn off automatic detection for the particular screen you're working on. You can do this by turning off subfile detection in the screen-level properties (so it only affects the screen you're working on.)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest