Evaluate a string in wp7/wp8 - windows

I am currently doing my first application in the wp8 sdk and have come across a problem.
What I want to do is when the user clicks a hyperlink button, it evaluates a bound textbox (author) and send it as a search string to google.
"http://www.google.com/search?q="
Now I tried using the Eval method that is available in asp.net; but it did not work. I have also tried to find alternatives for it, but not much luck there either.
So my question is. Is there any way to send a search string to google, evaluating a string?
Just to mention, all of this is in windows phone 8 sdk. And is within a datatemplate.
Thanks

Setting the NavigateUri and Target on the HyperlinkButton should navigate to the web site. To construct the NavigateUri to include user input you can add an extra string property alongside your already bound Author property (wherever that lives) and just expose the root "http://www.google.com/search?q=" + Author. Once you have that bound to NavigateUri (and getting property change notifications along with Author) the button should launch with the user entered text included.

Related

D365 Phone number field - remove icon

I cant seem to find a way to delete this little phone Icon.
Im currently trying to remove this Icon via JavaScript but I cannot find a way to remove that Icon. Nothing I found in the formContext is useful. I thought that the control of formContext.getControl("myprefix_businessphone") has the icon in it, too. But the options there are for the field only (as far as I've found).
This is click-to-dial functionality for any phone number field in CRM UCI form. Anything you try from the internet suggestion is going to be unsupported which may break in future release.
Other choices are - you can have a new custom plain text field to store the phone number data instead of phone number format, or develop your own PCF control to render the same existing field without icon.

Custom form in Outlook Task is not syncing

My partner and I created a custom task form to be used in Outlook using the developer mode to do that, and we published it to the Organization Forms Library for anyone to open. We're running into issues that I personally can't seem to find on how to resolve:
Custom forms aren't syncing correctly.
When I complete out the custom form, and I assign it to someone else they might be missing details like the dates I picked from the date picker, and text within the text box are gone too. It's very odd that sometimes some would get all the details that an end-user would input but that's like a 1/8 chance. I feel like there's a disconnect where it just won't behave like any other task. Cache mode or no cache mode doesn't matter it seems. When the person assigns it back with changes made on their end, those changes aren't seen on my side. I just have the same original details that I made when I first made it. We're on Exchange Server 2010.
Looks like a custom form was not published correctly to others in the organization. Try to create a new Outlook item on other machines with your custom forms to make sure they were deployed correctly.
Note, message forms default to separate layouts for composing and reading. Many people find their first message form doesn't look right when they receive an item created with it. That's simply because they forgot to click the Edit Read Page button and customize the Read layout!
You may find the Customizing Outlook Message Forms article helpful.

XPINC launch an attachment instead of downloading it

Is there a way to launch (open without saving) an attachment through XPINC? Something like the popup in web browser that ask you whether to open the attachment using a program or just save it first. Or maybe there's some setting in the notes client that I've yet to found that will launch an attachment?
I tried to built my own file download control so that I can built the URL to directly launch the attachment. It consist of a repeat control bounded to the attachment field and just a link control within it with URL computed as curRow.getHref()
And that worked fine but still it ask for me to save instead of launching the attachment directly. Changing the above code to curRow.getHref() + "?Open" also yield the same result. Any workaround?
The only way that I could find to do this was to construct a notes url that opened a conventional Notes form that had the launch property "Launch First Attachment" and only a single attachment.
It worked well but is obviously limited to documents with a single attachment. It also prevents the form from being opened as xpages by default but that is usually manageable.
You could construct documents on the fly and open them but that seems rather clumsy.
This is the formula for my XPage link in a repeat
var repIDVar = database.getReplicaID();
"notes://"+#Name("[CN]",#Subset(#DbName(),1))+"/"+repIDVar+"/0/"+rowData.getUniversalID()

What is the Description in WMAppMaifest.xml used for?

I'm trying to correctly fill in WMAppManifest.xml before I submit my app to the marketplace, but I'm not sure what to put in the Description field. It seems like all of that sort of info is taken from what you enter in the website when you submit your app, not the manifest file.
Yep, the description attribute is ignored when you submit to the marketplace. So you can just leave it blank.
Only the title attribute is used for regular apps. Mind you the publisher field is , if I recall correctly, used for XNA apps and music/picture hub integration.

How to make a password field in the web setup project user interface?

In the web setup project(using VS) when creating a user interface, how can I create a password field ?? there isn't any property for making the input that written in the text field hidden(give star instead of showing the password)...
Note:
the type of the dialog that i'm using is a text box.
Thanks alot..
Even though this is 3 years old I figured I would answer it, for future visitors - based on a tutorial I found (linked below)
First the bad news, this is not possible using the Visual Studio Setup Project (at least not in 2010 professional). However the good news is that you can
Download ORCA
Edit the textfield (under group 'control') and give it the property '2097159'
which will make every character you type a password character.
Taken from: http://www.codeproject.com/Articles/6099/Set-a-password-textbox-for-Visual-Studio-NET-setup

Resources