Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Code hints and Design view preview missing

Avatar

Level 2
Using FB with Flex sdk 3.3 and AFCS SDK 0.91. I installed the
SDK per the instructions in the ACFS dev guide. I then added the
FP9 afcs.swc to my project build path and compile for fp 9.0.124



The sample apps do compile and run.



However

1. I am getting no code hinting for the acfs classes

2. IN design view, the components show as white rectangles
with red x's and obscure the flex components

3. The design view>components view, the acfs folder is
empty, while the "custom" folder is full of acfs components.



Any idea as to what might be incorrect?



Thanks,

Will





1 Accepted Solution

Avatar

Correct answer by
Former Community Member


Hi Will,



I think it turns out we made a slight error in the dev guide
in the setup instructions - we mention that you should link the
AFCS source into your project in order to debug. Unfortunately this
seems to override the useful metadata baked into the SWC which
makes the SDK work with FB more seamlessly.



Advice : Remove the source path, then go to the library
path. Where you see AFCS.swc, expand it and select "source
attachment". Hit the edit button and add the source path there.
This seems to do the trick, allowing you to debug into the code
without overriding the swc itself.



We'll get the docs fixed up to reflect this better way to
set up the SDK.



thanks

nigel

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member


Hi Will,



I think it turns out we made a slight error in the dev guide
in the setup instructions - we mention that you should link the
AFCS source into your project in order to debug. Unfortunately this
seems to override the useful metadata baked into the SWC which
makes the SDK work with FB more seamlessly.



Advice : Remove the source path, then go to the library
path. Where you see AFCS.swc, expand it and select "source
attachment". Hit the edit button and add the source path there.
This seems to do the trick, allowing you to debug into the code
without overriding the swc itself.



We'll get the docs fixed up to reflect this better way to
set up the SDK.



thanks

nigel

Avatar

Level 2
You are 2 for 2 tonight. Spot on diagnosis. I had indeed
linked to the AFCS source. Unlinking + a restart of FB brought back
all that was missing.



Gracias



Will

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----