Sitemap

Amicuk Programming Answers

3 attributes, 1 value

2015-10-11   Views:2

Advertisement

If an attribute from an authoritative source is required in different formats for other resources, does the formatting work have to occur when running synchronization on the auth source? In other words, say for a 10-digit phone number I need to save

If an attribute from an authoritative source is required in different formats for other resources, does the formatting work have to occur when running synchronization on the auth source? In other words, say for a 10-digit phone number I need to save just the last 4 digits for one resource ("dddd") and another resource requires it as ("ddd-dddd"). Would my input form/workflow for the auth source be required to set 3 attributes: 'user.global.phone_10', 'user.global.phone_4' and 'user.global.phone_7'?
Am I missing an equivalent to an input form/workflow for processing creates and updates for the 2 non-authoratative sources? I would prefer to run formatting closer to the resource requiring the specific format.
Thanks.

The replay answer
Advertisement
I do this by splitting up the user form into several files and then including them.
A simple example. Say you have a Resource ResA that ActiveSync runs against. In ResA there is a field firstname in Normalcase while ResB requires the firstname in UPPERCASE and ResC in lowercase.
Heres the code for the ActiveSync user form for ResA (and do NOT use populate global!):
<Include>
  <ObjectRef type='UserForm' name='ResB-UserForm' />
  <ObjectRef type='UserForm' name='ResC-UserForm' />
</Include>
<FormRef name='ResB-UserForm' />
<FormRef name='ResC-UserForm' />ResB-UserForm:
<Field name='accounts[ResB].firstname'>
    <Expansion>
        <upcase><ref>activeSync.firstname</upcase>
    </Expansion>
</Field>ResC-UserForm:
<Field name='accounts[ResB].firstname'>
    <Expansion>
        <downcase><ref>activeSync.firstname</downcase>
    </Expansion>
</Field>Does this sound like a viable approach?

Go to See the other 6 answers

Get Attribute values from a page and procedure exception handling?

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I have created new page with two input attributes not based on any VO. This page is created to capture two values and pass these to an AM method upon pressing OK button. The method in AM will call a procedure with two in parameter expecting t[More]

Encrypted="true" does not encrypt MBean attribute

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have developed a Custom Weblogic Security Service Provider. I have also created an MBean to manage my provider. One of my MBean attributes is as follows: <MBeanAttribute Name = "JdbcPassword" DisplayMessage = "The JDBC Password to[More]

Not able to open Modal Page through a report attribute link

Category:DefaultRelease time:2015-10-11Views:130

Dear All,      Not able to open Modal Page through a report attribute link, kindly help me...   I am using skill builders modal page plugin ... Thanks and Regards, MadonnaHere's what you have to do. You set up your column link like this: Link text: w[More]

How to use attributes from different context nodes in one view?

Category:DefaultRelease time:2015-10-11Views:130

I am VERY new to the concept of CRM and currently working on creating an alternate version of the BP_HEAD_SEARCH. With help from SAPPRESSs book 'SAP CRM Web Client' i was ble to create my own simple Z-component. However after going back and forth the[More]

How do I set the mailhost attribute in Messaging Server 3.5?

Category:DefaultRelease time:2015-10-11Views:130

<B>Intent of the hostname aliases feature: </B><BR> In Messaging Server 3.5, the hostname aliases feature is designed to facilitate migrating and co-hosting. For instance, if you set up all of your sales and marketing users on one Messag[More]

Error while creating Attribute In BPM Object

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am getting error while creating attributes in BPM Object.I am not able to open BPm object. while opening I am getting Below error. Please suggest. java.lang.StringIndexOutOfBoundsException: String index out of range: 28      at java.lang.String[More]

Using a Variable in HttpService url attribute

Category:DefaultRelease time:2015-10-11Views:130

I have a dynamic url defined below public var forecastURL:String = " http://www.weather.gov/forecasts/xml/SOAP_server/ndfdSOAPclientByDay.php?lat=" + latitude + "&lon=" + longitude + "&format=12+hourly&startDate="[More]

Error while adding a attribute to the the Custom view through a wizard

Category:DefaultRelease time:2015-10-11Views:130

Hi , I have created a new custom view with value node through wizard  succesfully. Now I want to add a new attribute to that node.I am trying to do that by a wizard. But i am getting the follwing error " Error during analysis of Source Code" alt[More]

Assigning a String Value to the value attribute of html:file

Category:DefaultRelease time:2015-10-11Views:130

Hi, we facing a problem while assigning a value to the VALUE attribute of file tag <html:file property="fileupload" size='25' value="sample.xls" onchange="callsheet()" /> can anyone help me out plzzz,Two points - 1) Jav[More]

Error while genetrating gettter method on Context node attribute

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am working in SAP CRM 7.0 Ehp1.Now I need to create get_p_a and set_p_a method on context node attribute.But while selecting attribute and clicking on right and selecting on generate P-Getter,getting an error (error message - View not copied or[More]

Mis match in attributes of item category B and Blanket PO item details

Category:DefaultRelease time:2015-10-11Views:130

Hi I could not able to create a Blanket PO with document type FO and item category B (limit). Normally for a blanket PO, GR is not allowed and IR is mandatory. So, I could able to see these checkboxes for GR (not set and grayed) and IR (set and graye[More]

Hot
I have a Time Sheet with Javascript that adds the times up, and it works perfect with the PC version of Adobe Reader, but when I try to use it on a nexus 7 tablet the calculations don't work. I have tried the official Adobe Reader for Android as well [More]
My Convenience Keys (voice command and camera) randomly stopped working! When I try to use the voice command (even after troubleshooting), it does not respond at all and the camera asks me to close all other applications in order for it to operate! W [More]
Hi everyone I have the following Problem with my Final Cut Express: When I try to open a project i get an error message: "The file format is too new for this version of the program". (my FCE is in german, this is the google translation!) I have [More]
Hi all Can someone please help by telling how can i start Oracle Report Builder in Linux???? Thank you and best regards to allHello, there should be a script rwbuilder.sh in ORACLE_HOME/bin for 10.1.2. in ORACLE_INSTANCE/config/reports/bin for 11g Of [More]
Hey, guys! (: So I installed a bunch of software updates today on one of the Users on my Mac. Problem is, now whenever I try to open Safari, it immediatly "quits unexpectedly." This only happens under the User that I updated today, so it's defin [More]
WWhy can't I download apps that family member bought on her iPad after we downloaded ios8 and  became family members I'm able to download mine onto her iPad but I can't load hers onto mineI have captured the install log.  Right now I don't have the S [More]
Hi, my family have more than one mac and I was trying to set up a network to share each other's files, however, all I could get is the 'dropdown list' Any help? Wheelybin92Network info: AirPort Base Station and Network Setup Guide Creating a small Et [More]
I have done a google search and find lots of tutorials on importing pics TO pc. I on the other hand want to take pics FROM my pc and put IN my phone. Help pleaseStart a sync with iTunes, select the Photos tab at the top (far right), put a check mark [More]
We created a .NET class that wraps CR 2010 .NET Crystal Reports functions and made it COM visible. This class is used to create a COM object in a js script which in turn used to export reports to a PDF file with the destination MAPI. It exports repor [More]
I followed religiously the advice of Dominic23 but I still get notifications by the bundle.Then follow equally religiously the writings of Frank Caggiano below ... Stopping emails from ASC: Apple Support Communities Oh dear. Big Smile.   Going throug [More]