I have a piece of code in my web page that returns values from the environment variables in K2.
When I run this code in development it runs as expected and returns all of the variables (this would be all of the variables in the string table), but when I run this code in prodcution it only returns the base variables that originally shipped with K2.
My results look something like this
Development:
ApplicationWebServer:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
ASRClientID:xxxx
ASRDocumentLibrary:Completed_ASRs
ASRExternalWebPathToPages:http://vmlgmtdvwsk201
ASRIncidentAssignedTo:CORP-NETWORK ENGINEERING
ASRIncientCat:IEN ASR REQUEST
ASRMailFrom:asr_request@xxxxx.com
ASRPathToDocLibrary:SiteDirectory/ASR
ASRWebPathToPages:http://xxx:8080
ASRWebPathToPages_External:http://xxx:8080
ASRWOCatCircuitOrderInstall:CIRCUIT ORD/INS
ASRWOCatTSPSS7Turnup:TSP SS7 TURNUP
ASRWOCatTSPTrunkGroupOrder:TRUCKGRPORD/AUG
BPAMailFrom:Xxx_Automated_Process@xxx.com
Category Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
K2Workspace:http://xxx.lgmt.trdo
MagicServiceDeskEmail:svc_magicdevemail@xxx.com
Mail Server:bridgeheads.lgmt.trdo
PeeringAndPricingMailFrom:Peering_And_Pricing_Request@xxx.com
PeeringAndPricingWebPathToPages:http://xxx:9090
PeeringPricingPathToDocLibrary:SiteDirectory/Peering_And_Pricing
SecureAccessDocumentLibrary:Completed_Forms
SecureAccessMailFrom:Secure_Access_Request@xxx.com
SecureAccessPathToDocLibrary:SiteDirectory/SecureAccess
SecureAccessWebPathToPages:http://xxx
ServiceObject Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
Sharepoint Server:xxx.lgmt.trdo
SharePointServer:http://xxx.lgmt.trdo/
SharepointServerVariable:http://xxx.lgmt.trdo/
SharepointSiteSecureAccess:SiteDirectory/SecureAccess
SmartObject Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
TXMailFrom:PSAP_Move_Change@xxx.com
TXWebPathToPages:http://xxx:9090
Web Service URL:http://xxx
webserver:xxx
Workflow Management Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
Workflow Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword
Production:
Category Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
Mail Server:bridgeheads.lgmt.trdo
ServiceObject Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
SmartObject Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
Web Service URL:http://XXX:80
Workflow Management Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5555
Workflow Server:Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=XXX;Port=5252
<p>
The string table on the dev server and the production server contain all of the variables but they are not showing up as part of the 'CurrentEnvironment.EnvironmentFields' collection.