The Problem
We upload (large amounts of) files to SharePoint using FrontPage RPC (put documents call). As far as we've been able to find out, setting the value of taxonomy fields through this protocol requires their WssId.
The problem is that unless terms have been explicitly used before on a listitem, they don´t seem to have a WSS ID....
Hi experts.
With FileVersionInfo class is very easy to read file extra information,
but is there any way i can change it?
Thanks.
...
Is there a way for an attribute that has been applied to a method to know what method it was applied to at run time?
[AttributeUsage(AttributeTargets.Method)]
public class CustomAttribute : Attribute {}
public class Foo
{
[Custom]
public void Method() {}
}
Then I query the attribute at run time
var attribute = typeof(Foo)
...
Python 2.6
My script needs to monitor some 1G files on the ftp, when ever it's changed/modified, the script will download it to another place. Those file name will remain unchanged, people will delete the original file on ftp first, then upload a newer version. My script will checking the file metadata like file size and date modified t...
Does anyone know if it is possible to directly edit file metadata on OS X. Specifically in perl. The parameter I'm specifically trying to change is kMDItemFSLabel (The color of the file). I've had a search around and I can't seem to find a way to do this without using a module such as Mac::Glue or an external application (Finder).
...
Hi.
This is my scenario: I need to copy files to a sharepoint document library using its web services and set metadata on them. That's all possible with CopyIntoItems (from Copy webservice) except for Lookup fields. CopyIntoItems ignores them, so i need another way to set data on those fields.
I've tried to create a list item with the ...
Is there a way to get the database column DataType length information given a table's EntityType?
Example SQL (SQL Server) that you can run to see precisely what information I am looking for:
select
sys.tables.name as 'Table Name',
sys.columns.name as 'Column Name',
sys.systypes.name as 'DataType',
sys.columns.max_l...
I am looking for a way to get metadata from an Oracle store procedure, such as input/output parameters and their types.
I did try DESC but it is not working:
stmt = conn.createStatement();
ResultSet rs1 = stmt.executeQuery("desc pack.procname");
while ( rs1.next() ) {
System.out.println(rs1.getString(1));
}
Any ideas on what approac...
We have a utility that does some SQL magic by reflecting the definition for some views and stored procs. For this to work, the code needs access to various fields in the tables INFORMATION_SCHEMA.ROUTINES, INFORMATION_SCHEMA.VIEWS, etc.
So we wrote a cursor that applies
GRANT VIEW DEFINITION on ' + @Name + ' TO tenant'
where tenant i...
I have searched the web for resolution of this error, but everything I have found suggests what I have is correct.
Maybe someone could take a look and spot an obvious mistake I just cannot see.
I have a windows service, hosting two contracts:
IConfigurationService
IConfigurationAdminService
The admin service inherits from the stand...
After a user purchases an app from the app store, and runs it, is it possible for the app to know how much the user paid for it? Does Apple have any APIs that can access this type of metadata about the actual purchase of an app?
If not, I suppose I could fall back to looking up the country of the user, doing currency conversion rates, a...
Strangest thing:
I'm trying to get facebook to recognize the "&" sign within the <meta property='og:title' content="data"/> field.
I have content being extracted from a db where I urlencode: & becomes & but facebook doesn't pick up the encoding.. Except, when I just plainly add a & to the code itself, it picks it up.. It seems...
I have found hints that MVC 2 recognises the 'buddy class' type of property metadata, where data annotation attributes are applied to a 'buddy' metadata class, and the MetadataType on the actual entity class points to that buddy class, as below. However, as below, it seems the only attribute that makes any difference to the rendered UI ...
Hi !
Is there an easy way to have metadata names longer than 31 Characters in Firebird 2.1 and above ? This limitation is annoying with Foreign Keys and Views Name.
Thanks!
...
I'm getting an odd error in my console when running my app sometimes:
ImageIO: ERROR - MetadataLib.dylib not found
I'm not sure what this is related to, but I am running AdMobs ads.
...
I am figuring out someone else's code and I am trying to generate a proxy out of one of the services and it generates the following error...
System.InvalidOperationException: An exception was thrown in a call to a policy export extension. Extension: System.ServiceModel.Channels.SymmetricSecurityBindingElement Error: Specified argument w...
I have a Java application that creates a BufferedImage and saves it to disk as a JPEG. I'd really like to add a caption to the image. To prevent the image from getting crowded out by text on the image itself, it'd be great if I could write the caption to the JPEG's metadata.
I've been searching all over the place for a solution, but...
Hi all!
How can I change the metadata of a PDF using Quartz 2d on iPhone?
That's the way I get the CGPDFDictionaryRef:
CFDataRef pdfDataRef = (CFDataRef)pdfData;
CGDataProviderRef providerPDF = CGDataProviderCreateWithCFData(pdfDataRef);
CGPDFDocumentRef pdfDocumentRef = CGPDFDocumentCreateWithProvider(providerPDF);
CGPDFPageRef page...
I have the following model and view, and I would very much like to accept date values in the format 'dd/MM/yyyy'. However, despite using the DisplayFormat annotation, I still get a validation error using my chosen format.
[MetadataType(typeof(MilestoneMetadata))]
public partial class Milestone {
public class MilestoneMetadata {...
Where would I even start? I doubt that the save file formats are published .. or ... didn't MS move to XML? Or can you still save MS proprietary stuff?
Would it be easier to implement a stand-alone program, or somehow integrate it with MS office?
I am just curious. Looking for a new hobby project, but I think that it could turn out to ...