Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3609 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

 

I'm using a single CSS theme for all layouts in a given file. I'd like to know if there's a quick way to identify any styles in that theme that aren't being used anywhere in the file. 

 

Thanks in advance!

 

-Kent

Posted

Hi Kris,

 

That is indeed a useful tool, but I don't see how it addresses the issue of styles within a theme that aren't being used, i.e. they're orphaned styles. Maybe I missed something.

 

Thanks!

 

-Kent

Posted

I looked at the tool only briefly.

Sorry it does not have exactly the functionality you want.

Pitch an improvement suggestion to RCC maybe.

Theme / style data does not seem to be included in the DDR so my guess would not possible. I might be wrong.

Are you that concerned with CSS overhead or is their some other benefit you see?

Just curious...

Happy Holiday

K

Posted

 

How to find orphaned styles...are you that concerned with CSS overhead or is their some other benefit you see?

 

 

 

Hi Kris,

 

It's mostly just out of curiosity if it can be done at this point. It's that "enquiring minds want to know" thing  :)

 

Happy Holidays to you, as well!

 

-Kent

Posted

Kent, the generous people at RCC has released the above mentioned tool for free. This means that you can go in and modify the tool, so you could get a list of the custom styles used and compare to a list of styles defined. That way, you should be able to see which styles is not used.

  • Like 1
Posted

Hey Kent, I thought of you when I found this!  You, and everyone, CAN find which styles are unused in a theme!  And much more!

 

Check out fmXRaySpecs http://workflowdata.com/fmxrayspecs.html

 

It is free!

 

You perform similar process as RCC (select all objects on a layout and copy to clipboard) and it creates records from the objects.  It will Identify object names (you can search & sort), button names, conditional formatting, value lists attached and … drumroll … style names.  After you collect into fmXRaySpecs objects from all your layouts (a good informational tool anyway), sort by style and, comparing to your style tab in inspector, see what is unused.

 

But even more powerfully ... if you select an item in the list, you can display a graphical representation of the object highlighted on the layout to help you pinpoint it!  Wow!  I don't know about you but I've been tripped by an invisible object name that I couldn't find on a layout.  It also shows where styles have been overridden (which you will want to search for and usually fix). This all works for other areas in FM as well, such as scripts. Check it out, it does much more than I've explained also.

 

Did I mention it is free!!!  Sorry, it is currently Mac only.  I am really pumped about this!  It's great that we have these tools available.

  • Like 1
Posted

Hi LaRetta,

 

Thanks, this is a terrific find and it looks like it'll do what I want it to do (and more).

 

Cheers,

 

-Kent

This topic is 3609 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.