tag:beezwax.tenderapp.com,2010-10-12:/discussions/inspectorpro-5/552-reference-detection-failBeezwax: Discussion 2016-11-15T20:18:45Ztag:beezwax.tenderapp.com,2010-10-12:Comment/410049202016-10-17T09:34:02Z2016-10-17T09:34:04ZReference detection fail<div><p>If a layout is used via calculation, IP6 do not detect the use
and report 0 references !<br>
Fatal, if i want to belive the reference count.</p>
<p>e.g.<br>
A layout "layout 2" is just used once with the step:</p>
<p>Go to Layout [Case ( Get ( ScriptParameter ) = 2; "layout 2"<br>
; "layout 1" ) ]</p>
<p>the layout 2 has a reference count of 0</p></div>Peter Schuberttag:beezwax.tenderapp.com,2010-10-12:Comment/410049202016-10-17T09:41:46Z2016-10-17T09:41:47ZReference detection fail<div><p>Hi,</p>
<p>Mac, 10.12.1 (Beta !)<br>
FMPA 15.0.2.220 (DDR and working)<br>
InspectorPro 7/29/2016 6:51:45 PM - build 59</p></div>psctag:beezwax.tenderapp.com,2010-10-12:Comment/410049202016-10-17T09:43:35Z2016-10-17T09:43:36ZReference detection fail<div><p>Oh, additional info:</p>
<p>The layout name use strange german umlauts ... maybe an issue
?</p></div>psctag:beezwax.tenderapp.com,2010-10-12:Comment/410049202016-10-17T22:10:37Z2016-10-17T22:10:37ZReference detection fail<div><p>Peter,</p>
<p>InspectorPro can you show you lots of information.</p>
<p>If you look at a particular layout - you will see all the places
where that LAYOUT is referenced.</p>
<p>To be exact, in your example you are not referring to a layout
but rather a string - a literal string. In quotes, that is also
sometimes referred to as indirection. Note that you could even
reference the layout name from values of 2 fields concatenated
together. So it would be impossible for us determine the name of
the layout. Yes we could guess when it is a string, but that would
be the wrong assumption.</p>
<p>However there is a view in the other section called Layout
Destination.</p>
<p>This is what it looks like. In the example below shows all the
go to LAYOUT … by calculating the name. In your case it is a
hard coded string. So there are 2 options you could do..</p>
<p>1 - is go here to see all the places where you are using Go To
Layout Name by calculation …<br>
2 - Do a search in the calculations for that string and see if it
shows up and where.</p>
<p>This other section I am mentioning about here is only available
in an update that should be out this week or next.</p>
<p>Hope this helps you.</p></div>Vince Menanno