Closed GoogleCodeExporter closed 8 years ago
Well there is a method Field.getCalculatedFormula that looks like it provides
the formula. I took the view that this was fairly detailed information that not
everyone would want and so didn't look into it much. But just recently I've
started marking fields in a managed released package as deprecated just in the
label (as you can't change or remove a field once its in a managed released
package) so want to add the option of showing the label text. So there are now
two "optional" pieces of information so maybe its time to add a switch
parameter.
If your formula display does work out do send along the code and I'll add it
enabled via a switch in the connprops (and also add the label output as an
option too). This way the current behaviour will be the default and people who
want the extra information can switch it on.
Original comment by keith.clarke.claimvantage@gmail.com
on 24 Mar 2011 at 9:46
I went ahead and added both the label and formula to the comments (no switch,
they are always output) and have added a 2.1 beta including these changes to
the downloads. Please give this a go and post your feedback here.
Original comment by keith.clarke.claimvantage@gmail.com
on 25 Mar 2011 at 1:05
Original comment by keith.clarke.claimvantage@gmail.com
on 25 Mar 2011 at 8:21
Kudos. I wasn't even going to have time to work on this until the weekend, and
you went implemented it 4 hours after I posted!
Works like a charm, and it may have just shaved a few hours off a major
project, since I can see all the old formulas I'm trying to untangle at once!
Original comment by andy.hun...@gmail.com
on 25 Mar 2011 at 3:20
Original issue reported on code.google.com by
andy.hun...@gmail.com
on 24 Mar 2011 at 9:12