Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How to get resources from webapplications App_GlobalResources directory in workflows ?

Is it only way to put resources in to 12/Resources directory and get them with above method?

SPUtility.GetLocalizedString()

Thank you in advance

SAV

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It is my experience that resources in App_GlobalResources can not always be accessed as it relies on the HttpContext being present, which is not always the case, e.g. after a 'wait for' or 'wait until' workflow action.

share|improve this answer
    
Yeas you are right! Nevertheless I have to use GetLocalizedString() to get resources from 12 hive in a workflow that works perfect... –  SAV Nov 18 '10 at 8:50
    
I don't understand, did I answer your question or do you still have an issue? –  Muhimbi Nov 18 '10 at 18:08
    
You did answer... from workflow context we cant use resources from App_Global... thx sav –  SAV Mar 9 '11 at 17:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.