Vote count:
0
Hey all I have a chunk of code that I've been three days trying to pull a tiny bit of data from.
I know there is a LOT of code here but all I need is my (changed) name, in this case, William Adama from the last array object.
I would appreciate any help as I've been three days trying to figure it out and I'm TERRIBLE at Javascript.
<script type="text/javascript">
function applyArguments(){
Ext.BLANK_IMAGE_URL = '/s.gif';
Ext.SSL_SECURE_URL = 's.gif';
Ext.ns('acronym.ngoe.args');
Ext.apply(acronym.ngoe, {
soaUrl: './',
//Global Service Url (terminate with '/' !!)
scSoaUrl: '/crm/',
sbpdatapath: '/SupportbyProduct/',
basepath: '',
assetsUrl: '/ngoeSitecacheDocs/',
localeString: 'en_US',
systemurl: '/',
jsonUrl: '/ngoeSitecacheDocs/en_US/',
jsonUrlExtended: '/ngoeSitecacheDocs/en_US/pages/support_zone_web_assets/products/',
loginsystemurl: 'http://ift.tt/1n5aNT1',
talismaChatUrl: 'http://ift.tt/1wPbSb2',
attachmentsUrl: 'http://ift.tt/1n5aO9f',
freemarkercontextpath: '/',
downloadsdatapath: '/downloads/',
downloadsUrl: 'http://ift.tt/1wPbSIa',
emailAddress: 'William.Adama@acronym.com',
viewandManageSRUrl: '/crm/srManagement/',
orderACRUUrl: '/crm/orderPart',
administersiteUrl: '/crm/sites/',
dnllandingUrl: '/downloads/',
licenseUrl: '/crm/license/',
createSRUrl: '/crm/createSR/',
chatUrl: '/crm/liveChat/',
forumUrl: '/community/',
sclandingUrl: '/crm/',
releaseAndEndOfLifeDatesCustomer: 'http://ift.tt/1n5aO9h',
releaseAndEndOfLifeDatesPartner: 'http://ift.tt/1wPbSrm',
releaseAndEndOfLifeDatesEmployee: 'http://ift.tt/1n5aOGo',
sbpIssuesPowerlinkCustomerUrl:'http://ift.tt/1n5aOGq',
sbpIssuesPowerlinkPartnerUrl:'http://ift.tt/1wPbSrq',
sbpIssuesPowerlinkEmployeeUrl:'http://ift.tt/1wPbSrq',
chatViewAllUrl:'http://ift.tt/1n5aOGs',
isNewLiveChat:'true',
showContentSubscriptions: 'false',
communityIFIUrl: 'http://ift.tt/1wPbSYA'
});
acronym.ngoe.args = {
disableOverlays: true,
preloadOverlays: false,
enableSessionNotification: true,
sessionNotificationInMin: 240,
sessionGracePeriodInMin: 3,
sessionUpdateNotification: 2,
sortBy: '0',
showSubscriptions: 'true',
eliteAccess : 'true',
ecpsAccess : 'true',
ecpsPocAccess : 'true',
enableSupportIcon : 'true',
mySupportUrl : '/myproducts/',
myProductsMenuItemVisible : 'true',
chatInterval : 30,
chatNonSelectedIntervalInSecs: 90,
chatNonSelectedMaxCycles: 4,
sfdcAuthorPageUrl : 'http://ift.tt/1n5aO9p',
sfdcAccessLevelCheck : 'true',
rcmCodeKey : 'ACRONYM_ONSITE_REASON_FOR_RCM'
};
Ext.apply(acronym.ngoe.args, {"userData":{"title":"Tech Support Engineer I IRL","uid":"138942","firstName":"William","lastName":"Adama","preferredLocale":"en_US","loginName":"adamaw3","siteDuns":null,"parentDuns":null,"phoneNumber":"353851234567","identityType":"E","customerType":null,"companyName":"","accessLevel":50,"email":"William.Adama@acronym.com","givenname":"William","isCRMUser":true,"customerProgram":null,"subscribenetMemberID":null,"globalDuns":null,"localeLang":"en","localeCountry":"US","flname":"William Adama","sfdcUserType":"Platform User"},"docsPerPage":"50"});
Ext.apply(acronym.ngoe.args, {"supportBean":{"readOnly":false,"firstName":"William","lastName":"Adama","entityId":null,"partyId":27132777,"siteDuns":null,"userId":452198,"respId":58727,"respAppId":514,"sites":null,"userFlag":"E","crmUser":true,"groupId":null,"resourceId":100499257,"phoneNumber":null,"emailAddress":null,"powerlinkId":"138942","requestType":null,"supportFlag":null,"empFlag":null,"personId":400710,"relPartyId":null,"emailPointId":null,"phonePointId":null,"admin":false,"agent":false,"adminPartyId":null,"relationshipCode":null,"relationshipType":null,"requestUser":null,"entitledDuns":null,"roleName":null,"identifyType":null,"phoneCountryCode":"null","phoneAreaCode":"null","dialOutAccess":true,"userSupportedCountry":"IE"}});
Ext.apply(acronym.ngoe.args, {"neoBeanData":{"notes":null,"chatType":null,"serialNo":null,"defectivepartNo":null,"defectivepartserialNo":null,"sline":null}});
acronym.ngoe.arguments = acronym.ngoe.args;}
</script>
asked 54 secs ago
Javascript Array Object And Values
Aucun commentaire:
Enregistrer un commentaire